scc 2025.09
SystemC components library
cxs::cxs_packet_payload Struct Reference
Inheritance diagram for cxs::cxs_packet_payload:
Collaboration diagram for cxs::cxs_packet_payload:

Public Member Functions

 cxs_packet_payload (tlm::nw::tlm_base_mm_interface *mm)
Public Member Functions inherited from tlm::nw::tlm_network_payload< CXS_PKT >
 tlm_network_payload ()
 Default constructor.
virtual ~tlm_network_payload ()=default
void deep_copy_from (const tlm_network_payload &other)
 Non-virtual deep-copying of the object.
CXS_PKT get_command () const
 Gets the command from the payload.
void set_command (const CXS_PKT command)
 Sets the command in the payload.
std::vector< uint8_t > const & get_data () const
 Gets the data from the payload.
void set_data (std::vector< uint8_t > const &value)
 Sets the data in the payload.
bool is_response_ok () const
 Checks if the response status is OK.
bool is_response_error () const
 Checks if the response status is an error.
tlm_response_status get_response_status () const
 Gets the response status from the payload.
void set_response_status (const tlm_response_status response_status)
 Sets the response status in the payload.
std::string get_response_string () const
 Gets the response status as a string.
Public Member Functions inherited from tlm::nw::tlm_network_payload_base
 tlm_network_payload_base ()
 Default constructor.
 tlm_network_payload_base (tlm_base_mm_interface *mm)
 Constructor with memory management interface.
virtual ~tlm_network_payload_base ()
void reset ()
 Constructor with memory management interface.
void acquire ()
 Acquires a reference to the payload.
void release ()
 Releases a reference to the payload.
int get_ref_count () const
 Gets the reference count of the payload.
void set_mm (tlm_base_mm_interface *mm)
bool has_mm () const
void copy_extensions_from (const tlm_network_payload_base &other)
void update_extensions_from (const tlm_network_payload_base &other)
void free_all_extensions ()
template<typename T>
T * set_extension (T *ext)
tlm_extension_base * set_extension (unsigned int index, tlm_extension_base *ext)
template<typename T>
T * set_auto_extension (T *ext)
tlm_extension_base * set_auto_extension (unsigned int index, tlm_extension_base *ext)
template<typename T>
void get_extension (T *&ext) const
template<typename T>
T * get_extension () const
tlm_extension_base * get_extension (unsigned int index) const
template<typename T>
void clear_extension (const T *ext)
template<typename T>
void clear_extension ()
template<typename T>
void release_extension (T *ext)
template<typename T>
void release_extension ()
size_t get_extension_count ()
void resize_extensions ()

Additional Inherited Members

Static Public Member Functions inherited from tlm::nw::tlm_network_payload< CXS_PKT >
static tlm_network_payload< CXS_PKT > * create ()
 Creates a new instance of the tlm_network_payload using a thread-local memory manager.
Protected Member Functions inherited from tlm::nw::tlm_network_payload< CXS_PKT >
tlm_network_payload< CXS_PKT > & operator= (const tlm_network_payload< CXS_PKT > &x)
Protected Attributes inherited from tlm::nw::tlm_network_payload< CXS_PKT >
CXS_PKT m_command
std::vector< uint8_t > m_data
tlm_response_status m_response_status

Detailed Description

Definition at line 65 of file cxs_tlm.h.

Constructor & Destructor Documentation

◆ cxs_packet_payload()

cxs::cxs_packet_payload::cxs_packet_payload ( tlm::nw::tlm_base_mm_interface * mm)
inlineexplicit

Definition at line 68 of file cxs_tlm.h.


The documentation for this struct was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/interfaces/cxs/cxs_tlm.h