|
scc 2025.09
SystemC components library
|
Creates a new tlm_gp_mm object with fixed size. More...
#include <tlm_mm.h>


Public Member Functions | |
| virtual | ~tlm_gp_mm_t () |
| void | free () override |
| Public Member Functions inherited from tlm::scc::tlm_gp_mm | |
| void | copy_from (ATTR_UNUSED tlm_extension_base const &from) override |
| tlm_gp_mm * | clone () const override |
Public Attributes | |
| friend | tlm_gp_mm |
| Public Attributes inherited from tlm::scc::tlm_gp_mm | |
| size_t const | data_size |
| uint8_t *const | data_ptr |
| uint8_t *const | be_ptr |
Protected Member Functions | |
| tlm_gp_mm_t (size_t sz) | |
| Protected Member Functions inherited from tlm::scc::tlm_gp_mm | |
| tlm_gp_mm (size_t sz, uint8_t *data_ptr, uint8_t *be_ptr) | |
Protected Attributes | |
| uint8_t | data [SZ] |
| uint8_t | be [BE ? SZ :0] |
Additional Inherited Members | |
| Static Public Member Functions inherited from tlm::scc::tlm_gp_mm | |
| static tlm_gp_mm * | create (size_t sz, bool be=false) |
| Creates a new tlm_gp_mm object with a dynamically allocated buffer. | |
| template<typename TYPES = tlm_base_protocol_types> | |
| static TYPES::tlm_payload_type * | add_data_ptr (size_t sz, typename TYPES::tlm_payload_type &gp, bool be=false) |
| template<typename TYPES = tlm_base_protocol_types> | |
| static TYPES::tlm_payload_type * | add_data_ptr (size_t sz, typename TYPES::tlm_payload_type *gp, bool be=false) |
| Adds a data pointer to a tlm_gp_mm object. | |
Creates a new tlm_gp_mm object with fixed size.
| sz | The size of the data to be handled. |
| be | If true, the data is byte-swapped. |
|
inlinevirtual |
|
inlineprotected |
|
inlineoverride |
|
protected |
|
protected |
| friend tlm::scc::tlm_gp_mm_t< SZ, BE >::tlm_gp_mm |