TLM-2.0  2.0.4
Accellera TLM-2.0 proof-of-concept library
tlm_utils::callback_binder_fw< TYPES > Class Template Reference

#include <tlm_utils/multi_socket_bases.h>

Inheritance diagram for tlm_utils::callback_binder_fw< TYPES >:
Collaboration diagram for tlm_utils::callback_binder_fw< TYPES >:

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 nb_transport_functor< TYPES > nb_func_type
 
typedef b_transport_functor< TYPES > b_func_type
 
typedef debug_transport_functor< TYPES > debug_func_type
 
typedef get_dmi_ptr_functor< TYPES > dmi_func_type
 

Public Member Functions

 callback_binder_fw (multi_socket_base *owner, int id)
 
sync_enum_type nb_transport_fw (transaction_type &txn, phase_type &p, sc_core::sc_time &t)
 
void b_transport (transaction_type &trans, sc_core::sc_time &t)
 
bool get_direct_mem_ptr (transaction_type &trans, tlm::tlm_dmi &dmi_data)
 
unsigned int transport_dbg (transaction_type &trans)
 
void register_port (sc_core::sc_port_base &b, const char *)
 
void set_callbacks (nb_func_type &cb1, b_func_type &cb2, dmi_func_type &cb3, debug_func_type &cb4)
 
sc_core::sc_port_baseget_other_side ()
 
virtual const sc_eventdefault_event () const
 

Protected Member Functions

void display_warning (const char *msg) const
 
void display_error (const char *msg) const
 

Detailed Description

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

Definition at line 144 of file multi_socket_bases.h.

Member Typedef Documentation

◆ b_func_type

template<typename TYPES>
typedef b_transport_functor<TYPES> tlm_utils::callback_binder_fw< TYPES >::b_func_type

Definition at line 156 of file multi_socket_bases.h.

◆ debug_func_type

template<typename TYPES>
typedef debug_transport_functor<TYPES> tlm_utils::callback_binder_fw< TYPES >::debug_func_type

Definition at line 157 of file multi_socket_bases.h.

◆ dmi_func_type

template<typename TYPES>
typedef get_dmi_ptr_functor<TYPES> tlm_utils::callback_binder_fw< TYPES >::dmi_func_type

Definition at line 158 of file multi_socket_bases.h.

◆ nb_func_type

template<typename TYPES>
typedef nb_transport_functor<TYPES> tlm_utils::callback_binder_fw< TYPES >::nb_func_type

Definition at line 155 of file multi_socket_bases.h.

◆ phase_type

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

Definition at line 151 of file multi_socket_bases.h.

◆ sync_enum_type

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

Definition at line 152 of file multi_socket_bases.h.

◆ transaction_type

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

Definition at line 150 of file multi_socket_bases.h.

Constructor & Destructor Documentation

◆ callback_binder_fw()

template<typename TYPES>
tlm_utils::callback_binder_fw< TYPES >::callback_binder_fw ( multi_socket_base owner,
int  id 
)
inline

Definition at line 161 of file multi_socket_bases.h.

Member Function Documentation

◆ b_transport()

template<typename TYPES>
void tlm_utils::callback_binder_fw< TYPES >::b_transport ( transaction_type trans,
sc_core::sc_time t 
)
inlinevirtual

◆ display_error()

void tlm_utils::convenience_socket_cb_holder::display_error ( const char *  msg) const
inherited

◆ display_warning()

void tlm_utils::convenience_socket_cb_holder::display_warning ( const char *  msg) const
inherited

◆ get_direct_mem_ptr()

template<typename TYPES>
bool tlm_utils::callback_binder_fw< TYPES >::get_direct_mem_ptr ( transaction_type trans,
tlm::tlm_dmi dmi_data 
)
inlinevirtual

◆ get_other_side()

template<typename TYPES>
sc_core::sc_port_base* tlm_utils::callback_binder_fw< TYPES >::get_other_side ( )
inline

Definition at line 232 of file multi_socket_bases.h.

◆ nb_transport_fw()

template<typename TYPES>
sync_enum_type tlm_utils::callback_binder_fw< TYPES >::nb_transport_fw ( transaction_type txn,
phase_type p,
sc_core::sc_time t 
)
inlinevirtual

◆ register_port()

template<typename TYPES>
void tlm_utils::callback_binder_fw< TYPES >::register_port ( sc_core::sc_port_base b,
const char *   
)
inlinevirtual

Reimplemented from sc_core::sc_interface.

Definition at line 217 of file multi_socket_bases.h.

◆ set_callbacks()

template<typename TYPES>
void tlm_utils::callback_binder_fw< TYPES >::set_callbacks ( nb_func_type cb1,
b_func_type cb2,
dmi_func_type cb3,
debug_func_type cb4 
)
inline

Definition at line 222 of file multi_socket_bases.h.

◆ transport_dbg()

template<typename TYPES>
unsigned int tlm_utils::callback_binder_fw< TYPES >::transport_dbg ( transaction_type trans)
inlinevirtual

The documentation for this class was generated from the following file: