scc  2022.4.0
SystemC components library
chi::chi_data_extension Struct Reference
Inheritance diagram for chi::chi_data_extension:
Collaboration diagram for chi::chi_data_extension:

Public Member Functions

 chi_data_extension ()=default
 the default constructor
 
tlm::tlm_extension_base * clone () const
 the copy constructor More...
 
void copy_from (tlm::tlm_extension_base const &ext)
 deep copy all values from ext More...
 
void set_txn_id (unsigned int id)
 
unsigned int get_txn_id () const
 
void set_src_id (unsigned int id)
 
unsigned int get_src_id () const
 
void set_qos (uint8_t qos)
 
unsigned int get_qos () const
 

Public Attributes

common cmn {}
 
data dat {}
 

Detailed Description

Definition at line 822 of file chi_tlm.h.

Member Function Documentation

◆ clone()

tlm::tlm_extension_base* chi::chi_data_extension::clone ( ) const
inline

the copy constructor

Parameters
theextension to copy from chi_data_extension(const chi_data_extension* o) {}

the clone function to create deep copies of

Returns
pointer to heap-allocated extension

Definition at line 836 of file chi_tlm.h.

◆ copy_from()

void chi::chi_data_extension::copy_from ( tlm::tlm_extension_base const &  ext)
inline

deep copy all values from ext

Parameters
ext

Definition at line 841 of file chi_tlm.h.


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