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

#include <tlm_utils/multi_socket_bases.h>

Inheritance diagram for tlm_utils::callback_binder_bw< TYPES >:
Collaboration diagram for tlm_utils::callback_binder_bw< 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 invalidate_dmi_functor< TYPES > dmi_func_type
 

Public Member Functions

 callback_binder_bw (multi_socket_base *owner, 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)
 
virtual void register_port (sc_port_base &port_, const char *if_typename_)
 
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_bw< TYPES >

Definition at line 255 of file multi_socket_bases.h.

Member Typedef Documentation

◆ dmi_func_type

template<typename TYPES>
typedef invalidate_dmi_functor<TYPES> tlm_utils::callback_binder_bw< TYPES >::dmi_func_type

Definition at line 267 of file multi_socket_bases.h.

◆ nb_func_type

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

Definition at line 266 of file multi_socket_bases.h.

◆ phase_type

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

Definition at line 262 of file multi_socket_bases.h.

◆ sync_enum_type

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

Definition at line 263 of file multi_socket_bases.h.

◆ transaction_type

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

Definition at line 261 of file multi_socket_bases.h.

Constructor & Destructor Documentation

◆ callback_binder_bw()

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

Definition at line 270 of file multi_socket_bases.h.

Member Function Documentation

◆ 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

◆ invalidate_direct_mem_ptr()

template<typename TYPES>
void tlm_utils::callback_binder_bw< TYPES >::invalidate_direct_mem_ptr ( sc_dt::uint64  l,
sc_dt::uint64  u 
)
inlinevirtual

Implements tlm::tlm_bw_direct_mem_if.

Definition at line 288 of file multi_socket_bases.h.

◆ nb_transport_bw()

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 
)
inlinevirtual

◆ set_callbacks()

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

Definition at line 296 of file multi_socket_bases.h.


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