gem5  v22.1.0.0
Public Types | Public Member Functions | Private Attributes | List of all members
tlm_utils::callback_binder_bw< TYPES > Class Template Reference

#include <multi_socket_bases.h>

Inheritance diagram for tlm_utils::callback_binder_bw< TYPES >:
tlm::tlm_bw_transport_if< TYPES > tlm_utils::convenience_socket_cb_holder tlm::tlm_bw_nonblocking_transport_if< TYPES::tlm_payload_type, TYPES::tlm_phase_type > tlm::tlm_bw_direct_mem_if sc_core::sc_interface sc_core::sc_interface

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)
 
- Public Member Functions inherited from sc_core::sc_interface
virtual void register_port (sc_port_base &, const char *)
 
virtual const sc_eventdefault_event () const
 
virtual ~sc_interface ()
 

Private Attributes

int m_id
 
nb_func_typem_nb_f
 
dmi_func_typem_dmi_f
 

Additional Inherited Members

- Protected Member Functions inherited from sc_core::sc_interface
 sc_interface ()
 
- Protected Member Functions inherited from tlm_utils::convenience_socket_cb_holder
 convenience_socket_cb_holder (convenience_socket_base *owner)
 
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 286 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 297 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 296 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 292 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 293 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 291 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 299 of file multi_socket_bases.h.

Member Function Documentation

◆ 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

◆ 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

Member Data Documentation

◆ m_dmi_f

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

◆ m_id

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

◆ m_nb_f

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

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

Generated on Wed Dec 21 2022 10:25:12 for gem5 by doxygen 1.9.1