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

Public Member Functions

 chi_credit_extension ()=default
 the default constructor
 
 chi_credit_extension (credit_type_e type, unsigned short count=1)
 
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...
 
- Public Member Functions inherited from chi::credit
 credit (short unsigned count, chi::credit_type_e type)
 

Additional Inherited Members

- Public Attributes inherited from chi::credit
unsigned short count {1}
 
credit_type_e type {credit_type_e::LINK}
 

Detailed Description

Definition at line 861 of file chi_tlm.h.

Member Function Documentation

◆ clone()

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

the copy constructor

Parameters
theextension to copy from chi_credit_extension(const chi_credit_extension* o) : chi_extension<response>(o){}

the clone function to create deep copies of

Returns
pointer to heap-allocated extension

Definition at line 878 of file chi_tlm.h.

◆ copy_from()

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

deep copy all values from ext

Parameters
ext

Definition at line 883 of file chi_tlm.h.


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