tlm_utils::callback_binder_bw< TYPES > Class Template Reference

#include <multi_socket_bases.h>

Inheritance diagram for tlm_utils::callback_binder_bw< TYPES >:

Inheritance graph
[legend]
Collaboration diagram for tlm_utils::callback_binder_bw< TYPES >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef
TYPES::tlm_payload_type 
transaction_type
typedef
TYPES::tlm_phase_type 
phase_type
typedef
tlm::tlm_sync_enum 
sync_enum_type
typedef
boost::function
< sync_enum_type(int
i, transaction_type
&txn, phase_type &p,
sc_core::sc_time &t)> 
nb_func_type
typedef
boost::function
< void(int i,
sc_dt::uint64 l,
sc_dt::uint64 u)> 
dmi_func_type

Public Member Functions

 callback_binder_bw (int id)
sync_enum_type nb_transport_bw (transaction_type &txn, phase_type &p, sc_core::sc_time &t)
void invalidate_direct_mem_ptr (sc_dt::uint64 l, sc_dt::uint64 u)
void set_callbacks (nb_func_type &cb1, dmi_func_type &cb2)

Private Attributes

int m_id
nb_func_typem_nb_f
dmi_func_typem_dmi_f


Detailed Description

template<typename TYPES>
class tlm_utils::callback_binder_bw< TYPES >

Definition at line 148 of file multi_socket_bases.h.


Member Typedef Documentation

template<typename TYPES>
typedef TYPES::tlm_payload_type tlm_utils::callback_binder_bw< TYPES >::transaction_type

Definition at line 151 of file multi_socket_bases.h.

template<typename TYPES>
typedef TYPES::tlm_phase_type tlm_utils::callback_binder_bw< TYPES >::phase_type

Definition at line 152 of file multi_socket_bases.h.

template<typename TYPES>
typedef tlm::tlm_sync_enum tlm_utils::callback_binder_bw< TYPES >::sync_enum_type

Definition at line 153 of file multi_socket_bases.h.

template<typename TYPES>
typedef boost::function<sync_enum_type (int i, transaction_type& txn, phase_type& p, sc_core::sc_time& t)> tlm_utils::callback_binder_bw< TYPES >::nb_func_type

Definition at line 156 of file multi_socket_bases.h.

template<typename TYPES>
typedef boost::function<void (int i, sc_dt::uint64 l, sc_dt::uint64 u)> tlm_utils::callback_binder_bw< TYPES >::dmi_func_type

Definition at line 157 of file multi_socket_bases.h.


Constructor & Destructor Documentation

template<typename TYPES>
tlm_utils::callback_binder_bw< TYPES >::callback_binder_bw ( int  id  )  [inline]

Definition at line 160 of file multi_socket_bases.h.


Member Function Documentation

template<typename TYPES>
sync_enum_type tlm_utils::callback_binder_bw< TYPES >::nb_transport_bw ( transaction_type txn,
phase_type p,
sc_core::sc_time &  t 
) [inline, virtual]

Implements tlm::tlm_bw_nonblocking_transport_if< TYPES::tlm_payload_type, TYPES::tlm_phase_type >.

Definition at line 164 of file multi_socket_bases.h.

References tlm_utils::callback_binder_bw< TYPES >::m_id, and tlm_utils::callback_binder_bw< TYPES >::m_nb_f.

template<typename TYPES>
void tlm_utils::callback_binder_bw< TYPES >::invalidate_direct_mem_ptr ( sc_dt::uint64  l,
sc_dt::uint64  u 
) [inline, virtual]

Implements tlm::tlm_bw_direct_mem_if.

Definition at line 177 of file multi_socket_bases.h.

References tlm_utils::callback_binder_bw< TYPES >::m_dmi_f, tlm_utils::callback_binder_bw< TYPES >::m_id, and tlm_utils::callback_binder_bw< TYPES >::m_nb_f.

template<typename TYPES>
void tlm_utils::callback_binder_bw< TYPES >::set_callbacks ( nb_func_type cb1,
dmi_func_type cb2 
) [inline]

Definition at line 188 of file multi_socket_bases.h.

References tlm_utils::callback_binder_bw< TYPES >::m_dmi_f, and tlm_utils::callback_binder_bw< TYPES >::m_nb_f.


Member Data Documentation

template<typename TYPES>
int tlm_utils::callback_binder_bw< TYPES >::m_id [private]

Definition at line 195 of file multi_socket_bases.h.

Referenced by tlm_utils::callback_binder_bw< TYPES >::invalidate_direct_mem_ptr(), and tlm_utils::callback_binder_bw< TYPES >::nb_transport_bw().

template<typename TYPES>
nb_func_type* tlm_utils::callback_binder_bw< TYPES >::m_nb_f [private]

Definition at line 197 of file multi_socket_bases.h.

Referenced by tlm_utils::callback_binder_bw< TYPES >::invalidate_direct_mem_ptr(), tlm_utils::callback_binder_bw< TYPES >::nb_transport_bw(), and tlm_utils::callback_binder_bw< TYPES >::set_callbacks().

template<typename TYPES>
dmi_func_type* tlm_utils::callback_binder_bw< TYPES >::m_dmi_f [private]

Definition at line 198 of file multi_socket_bases.h.

Referenced by tlm_utils::callback_binder_bw< TYPES >::invalidate_direct_mem_ptr(), and tlm_utils::callback_binder_bw< TYPES >::set_callbacks().


The documentation for this class was generated from the following file:
Generated on Thu Jun 5 17:44:21 2008 for TLM 2 by  doxygen 1.5.3