クラス テンプレート tlm::tlm_fifo< T >

#include <tlm_fifo.h>

tlm::tlm_fifo< T >に対する継承グラフ

Inheritance graph
[凡例]
tlm::tlm_fifo< T >のコラボレーション図

Collaboration graph
[凡例]

すべてのメンバ一覧

Public メソッド

 tlm_fifo (int size_=1)
 tlm_fifo (const char *name_, int size_=1)
virtual tlm_fifo ()
get (tlm_tag< T > *t=0)
bool nb_get (T &)
bool nb_can_get (tlm_tag< T > *t=0) const
const sc_core::sc_event & ok_to_get (tlm_tag< T > *t=0) const
peek (tlm_tag< T > *t=0) const
bool nb_peek (T &) const
bool nb_can_peek (tlm_tag< T > *t=0) const
const sc_core::sc_event & ok_to_peek (tlm_tag< T > *t=0) const
void put (const T &)
bool nb_put (const T &)
bool nb_can_put (tlm_tag< T > *t=0) const
const sc_core::sc_event & ok_to_put (tlm_tag< T > *t=0) const
void nb_expand (unsigned int n=1)
void nb_unbound (unsigned int n=16)
bool nb_reduce (unsigned int n=1)
bool nb_bound (unsigned int n)
bool nb_peek (T &, int n) const
bool nb_poke (const T &, int n=0)
int used () const
int size () const
void debug () const
const char * kind () const

Static Public 変数

static const char *const kind_string = "tlm_fifo"

Protected メソッド

sc_core::sc_event & read_event (tlm_tag< T > *t=0)
void update ()
void init (int)

Protected 変数

circular_buffer< T > * buffer
int m_size
int m_num_readable
int m_num_read
int m_num_written
bool m_expand
int m_num_read_no_notify
sc_core::sc_event m_data_read_event
sc_core::sc_event m_data_written_event

Private メソッド

 tlm_fifo (const tlm_fifo< T > &)
tlm_fifooperator= (const tlm_fifo< T > &)
bool is_empty () const
bool is_full () const


説明

template<typename T>
class tlm::tlm_fifo< T >

tlm_fifo.h43 行で定義されています。


コンストラクタとデストラクタ

template<typename T>
tlm::tlm_fifo< T >::tlm_fifo ( int  size_ = 1  )  [inline, explicit]

tlm_fifo.h52 行で定義されています。

参照先 tlm::tlm_fifo< T >::init().

関数の呼び出しグラフ:

template<typename T>
tlm::tlm_fifo< T >::tlm_fifo ( const char *  name_,
int  size_ = 1 
) [inline, explicit]

tlm_fifo.h59 行で定義されています。

参照先 tlm::tlm_fifo< T >::init().

関数の呼び出しグラフ:

template<typename T>
virtual tlm::tlm_fifo< T >::tlm_fifo (  )  [inline, virtual]

tlm_fifo.h68 行で定義されています。

参照先 tlm::tlm_fifo< T >::buffer.

template<typename T>
tlm::tlm_fifo< T >::tlm_fifo ( const tlm_fifo< T > &   )  [private]


関数

template<typename T>
T tlm::tlm_fifo< T >::get ( tlm_tag< T > *  t = 0  )  [inline, virtual]

tlm::tlm_blocking_get_if< T >を実装しています。

tlm_fifo_put_get.h32 行で定義されています。

参照先 tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::is_empty(), tlm::tlm_fifo< T >::m_data_written_event, と tlm::tlm_fifo< T >::m_num_read.

関数の呼び出しグラフ:

template<typename T>
bool tlm::tlm_fifo< T >::nb_get ( T &  val_  )  [inline, virtual]

tlm::tlm_nonblocking_get_if< T >を実装しています。

tlm_fifo_put_get.h51 行で定義されています。

参照先 tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::is_empty(), と tlm::tlm_fifo< T >::m_num_read.

関数の呼び出しグラフ:

template<typename T>
bool tlm::tlm_fifo< T >::nb_can_get ( tlm_tag< T > *  t = 0  )  const [inline, virtual]

tlm::tlm_nonblocking_get_if< T >を実装しています。

tlm_fifo_put_get.h70 行で定義されています。

参照先 tlm::tlm_fifo< T >::is_empty().

関数の呼び出しグラフ:

template<typename T>
const sc_core::sc_event& tlm::tlm_fifo< T >::ok_to_get ( tlm_tag< T > *  t = 0  )  const [inline, virtual]

tlm::tlm_nonblocking_get_if< T >を実装しています。

tlm_fifo.h80 行で定義されています。

参照先 tlm::tlm_fifo< T >::m_data_written_event.

template<typename T>
T tlm::tlm_fifo< T >::peek ( tlm_tag< T > *  t = 0  )  const [inline, virtual]

tlm::tlm_blocking_peek_if< T >を実装しています。

tlm_fifo_peek.h26 行で定義されています。

参照先 tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::is_empty(), と tlm::tlm_fifo< T >::m_data_written_event.

関数の呼び出しグラフ:

template<typename T>
bool tlm::tlm_fifo< T >::nb_peek ( T &  t  )  const [inline, virtual]

tlm::tlm_nonblocking_peek_if< T >を実装しています。

tlm_fifo_peek.h44 行で定義されています。

参照先 tlm::tlm_fifo< T >::buffer, と tlm::tlm_fifo< T >::used().

関数の呼び出しグラフ:

template<typename T>
bool tlm::tlm_fifo< T >::nb_can_peek ( tlm_tag< T > *  t = 0  )  const [inline, virtual]

tlm::tlm_nonblocking_peek_if< T >を実装しています。

tlm_fifo_peek.h76 行で定義されています。

参照先 tlm::tlm_fifo< T >::is_empty().

関数の呼び出しグラフ:

template<typename T>
const sc_core::sc_event& tlm::tlm_fifo< T >::ok_to_peek ( tlm_tag< T > *  t = 0  )  const [inline, virtual]

tlm::tlm_nonblocking_peek_if< T >を実装しています。

tlm_fifo.h90 行で定義されています。

参照先 tlm::tlm_fifo< T >::m_data_written_event.

template<typename T>
void tlm::tlm_fifo< T >::put ( const T &  val_  )  [inline, virtual]

tlm::tlm_blocking_put_if< T >を実装しています。

tlm_fifo_put_get.h86 行で定義されています。

参照先 tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::is_full(), tlm::tlm_fifo< T >::m_data_read_event, と tlm::tlm_fifo< T >::m_num_written.

関数の呼び出しグラフ:

template<typename T>
bool tlm::tlm_fifo< T >::nb_put ( const T &  val_  )  [inline, virtual]

tlm::tlm_nonblocking_put_if< T >を実装しています。

tlm_fifo_put_get.h107 行で定義されています。

参照先 tlm::tlm_fifo< T >::buffer, tlm::tlm_fifo< T >::is_full(), と tlm::tlm_fifo< T >::m_num_written.

参照元 tlm::tlm_analysis_fifo< T >::write().

関数の呼び出しグラフ:

template<typename T>
bool tlm::tlm_fifo< T >::nb_can_put ( tlm_tag< T > *  t = 0  )  const [inline, virtual]

tlm::tlm_nonblocking_put_if< T >を実装しています。

tlm_fifo_put_get.h130 行で定義されています。

参照先 tlm::tlm_fifo< T >::is_full().

関数の呼び出しグラフ:

template<typename T>
const sc_core::sc_event& tlm::tlm_fifo< T >::ok_to_put ( tlm_tag< T > *  t = 0  )  const [inline, virtual]

tlm::tlm_nonblocking_put_if< T >を実装しています。

tlm_fifo.h101 行で定義されています。

参照先 tlm::tlm_fifo< T >::m_data_read_event.

template<typename T>
void tlm::tlm_fifo< T >::nb_expand ( unsigned int  n = 1  )  [inline]

tlm_fifo_resize.h32 行で定義されています。

参照先 tlm::tlm_fifo< T >::m_expand, と tlm::tlm_fifo< T >::m_size.

template<typename T>
void tlm::tlm_fifo< T >::nb_unbound ( unsigned int  n = 16  )  [inline]

template<typename T>
bool tlm::tlm_fifo< T >::nb_reduce ( unsigned int  n = 1  )  [inline]

tlm_fifo_resize.h59 行で定義されています。

参照先 tlm::tlm_fifo< T >::m_size, tlm::tlm_fifo< T >::nb_bound(), と tlm::tlm_fifo< T >::size().

関数の呼び出しグラフ:

template<typename T>
bool tlm::tlm_fifo< T >::nb_bound ( unsigned int  n  )  [inline]

tlm_fifo_resize.h72 行で定義されています。

参照先 tlm::tlm_fifo< T >::m_size, と tlm::tlm_fifo< T >::used().

参照元 tlm::tlm_fifo< T >::nb_reduce().

関数の呼び出しグラフ:

template<typename T>
bool tlm::tlm_fifo< T >::nb_peek ( T &  t,
int  n 
) const [inline, virtual]

tlm::tlm_fifo_debug_if< T >を実装しています。

tlm_fifo_peek.h58 行で定義されています。

参照先 tlm::tlm_fifo< T >::buffer, と tlm::tlm_fifo< T >::used().

関数の呼び出しグラフ:

template<typename T>
bool tlm::tlm_fifo< T >::nb_poke ( const T &  t,
int  n = 0 
) [inline, virtual]

tlm::tlm_fifo_debug_if< T >を実装しています。

tlm_fifo_peek.h84 行で定義されています。

参照先 tlm::tlm_fifo< T >::buffer, と tlm::tlm_fifo< T >::used().

関数の呼び出しグラフ:

template<typename T>
int tlm::tlm_fifo< T >::used (  )  const [inline, virtual]

template<typename T>
int tlm::tlm_fifo< T >::size (  )  const [inline, virtual]

template<typename T>
void tlm::tlm_fifo< T >::debug (  )  const [inline, virtual]

template<typename T>
const char* tlm::tlm_fifo< T >::kind (  )  const [inline]

tlm_fifo.h144 行で定義されています。

参照先 tlm::tlm_fifo< T >::kind_string.

template<typename T>
sc_core::sc_event& tlm::tlm_fifo< T >::read_event ( tlm_tag< T > *  t = 0  )  [inline, protected]

tlm_fifo.h149 行で定義されています。

参照先 tlm::tlm_fifo< T >::m_data_read_event.

template<typename T>
void tlm::tlm_fifo< T >::update (  )  [inline, protected]

template<typename T>
void tlm::tlm_fifo< T >::init ( int  size_  )  [inline, protected]

template<typename T>
tlm_fifo& tlm::tlm_fifo< T >::operator= ( const tlm_fifo< T > &   )  [private]

template<typename T>
bool tlm::tlm_fifo< T >::is_empty (  )  const [inline, private]

template<typename T>
bool tlm::tlm_fifo< T >::is_full (  )  const [inline, private]


変数

template<typename T>
const char *const tlm::tlm_fifo< T >::kind_string = "tlm_fifo" [inline, static]

tlm_fifo.h142 行で定義されています。

参照元 tlm::tlm_fifo< T >::kind().

template<typename T>
circular_buffer<T>* tlm::tlm_fifo< T >::buffer [protected]

template<typename T>
int tlm::tlm_fifo< T >::m_size [protected]

template<typename T>
int tlm::tlm_fifo< T >::m_num_readable [protected]

template<typename T>
int tlm::tlm_fifo< T >::m_num_read [protected]

template<typename T>
int tlm::tlm_fifo< T >::m_num_written [protected]

template<typename T>
bool tlm::tlm_fifo< T >::m_expand [protected]

template<typename T>
int tlm::tlm_fifo< T >::m_num_read_no_notify [protected]

tlm_fifo.h171 行で定義されています。

参照元 tlm::tlm_fifo< T >::init(), と tlm::tlm_fifo< T >::update().

template<typename T>
sc_core::sc_event tlm::tlm_fifo< T >::m_data_read_event [protected]

template<typename T>
sc_core::sc_event tlm::tlm_fifo< T >::m_data_written_event [protected]


このクラスの説明は次のファイルから生成されました:

TLM 2.0に対してWed Jun 11 00:11:01 2008に生成されました。  doxygen 1.5.6