SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_byte_heap Class Reference

#include <sysc/utils/sc_temporary.h>

Public Member Functions

char * allocate (std::size_t bytes_n)
 
void initialize (std::size_t heap_size=0x100000)
 
std::size_t length ()
 
 sc_byte_heap ()
 
 sc_byte_heap (std::size_t heap_size)
 
 ~sc_byte_heap ()
 

Public Attributes

char * m_bgn_p
 
char * m_end_p
 
char * m_next_p
 

Detailed Description

Definition at line 77 of file sc_temporary.h.

Constructor & Destructor Documentation

◆ sc_byte_heap() [1/2]

sc_core::sc_byte_heap::sc_byte_heap ( )
inline

Definition at line 110 of file sc_temporary.h.

◆ sc_byte_heap() [2/2]

sc_core::sc_byte_heap::sc_byte_heap ( std::size_t  heap_size)
inline

Definition at line 115 of file sc_temporary.h.

◆ ~sc_byte_heap()

sc_core::sc_byte_heap::~sc_byte_heap ( )
inline

Definition at line 121 of file sc_temporary.h.

Member Function Documentation

◆ allocate()

char* sc_core::sc_byte_heap::allocate ( std::size_t  bytes_n)
inline

Definition at line 83 of file sc_temporary.h.

◆ initialize()

void sc_core::sc_byte_heap::initialize ( std::size_t  heap_size = 0x100000)
inline

Definition at line 97 of file sc_temporary.h.

◆ length()

std::size_t sc_core::sc_byte_heap::length ( )
inline

Definition at line 105 of file sc_temporary.h.

Member Data Documentation

◆ m_bgn_p

char* sc_core::sc_byte_heap::m_bgn_p

Definition at line 79 of file sc_temporary.h.

◆ m_end_p

char* sc_core::sc_byte_heap::m_end_p

Definition at line 80 of file sc_temporary.h.

◆ m_next_p

char* sc_core::sc_byte_heap::m_next_p

Definition at line 81 of file sc_temporary.h.


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