SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | Public Attributes | List of all members
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 70 of file sc_temporary.h.

Constructor & Destructor Documentation

sc_core::sc_byte_heap::sc_byte_heap ( )
inline

Definition at line 103 of file sc_temporary.h.

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

Definition at line 108 of file sc_temporary.h.

sc_core::sc_byte_heap::~sc_byte_heap ( )
inline

Definition at line 114 of file sc_temporary.h.

Member Function Documentation

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

Definition at line 76 of file sc_temporary.h.

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

Definition at line 90 of file sc_temporary.h.

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

Definition at line 98 of file sc_temporary.h.

Member Data Documentation

char* sc_core::sc_byte_heap::m_bgn_p

Definition at line 72 of file sc_temporary.h.

char* sc_core::sc_byte_heap::m_end_p

Definition at line 73 of file sc_temporary.h.

char* sc_core::sc_byte_heap::m_next_p

Definition at line 74 of file sc_temporary.h.


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