scc 2025.09
SystemC components library
tlm::scc::tlm_mm< TYPES, CLEANUP_DATA > Class Template Reference

a tlm memory manager More...

#include <tlm_mm.h>

Inheritance diagram for tlm::scc::tlm_mm< TYPES, CLEANUP_DATA >:
Collaboration diagram for tlm::scc::tlm_mm< TYPES, CLEANUP_DATA >:

Static Public Member Functions

static tlm_mmget ()
 accessor function of the singleton

Additional Inherited Members

Public Member Functions inherited from tlm::scc::tlm_mm_t< tlm_base_protocol_types, true, std::conditional< std::is_base_of< tlm::tlm_generic_payload, tlm_base_protocol_types::tlm_payload_type >::value, tlm::tlm_mm_interface, tlm_mm_traits< tlm_base_protocol_types >::mm_if_type >::type >
tlm_mm_t & operator= (const tlm_mm_t &other)=delete
payload_type * allocate ()
 get a plain tlm_payload_type without extensions
void free (payload_base *trans)
 return the extension into the memory pool (removing the extensions)

Detailed Description

template<typename TYPES = tlm_base_protocol_types, bool CLEANUP_DATA = true>
class tlm::scc::tlm_mm< TYPES, CLEANUP_DATA >

a tlm memory manager

a tlm payload memory manager as singleton

This memory manager can be used as singleton or as local memory manager. It uses the pool_allocator as singleton to maximize reuse

This memory manager can be used as singleton. It uses the pool_allocator as singleton to maximize reuse

Definition at line 327 of file tlm_mm.h.

Member Function Documentation

◆ get()

template<typename TYPES, bool CLEANUP_DATA>
tlm_mm< TYPES, CLEANUP_DATA > & tlm::scc::tlm_mm< TYPES, CLEANUP_DATA >::get ( )
inlinestatic

accessor function of the singleton

Returns

Definition at line 338 of file tlm_mm.h.


The documentation for this class was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/sysc/tlm/scc/tlm_mm.h