SystemC  Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | Protected Attributes | List of all members
sc_core::sc_vpool< T > Class Template Reference

#include <sysc/utils/sc_temporary.h>

Collaboration diagram for sc_core::sc_vpool< T >:
Collaboration graph
[legend]

Public Member Functions

 sc_vpool (int log2, T *pool_p=0)
 
 ~sc_vpool ()
 
T * allocate ()
 
void reset ()
 
std::size_t size ()
 

Protected Attributes

std::size_t m_pool_i
 
T * m_pool_p
 
std::size_t m_wrap
 

Detailed Description

template<class T>
class sc_core::sc_vpool< T >

Definition at line 159 of file sc_temporary.h.

Constructor & Destructor Documentation

template<class T>
sc_core::sc_vpool< T >::sc_vpool ( int  log2,
T *  pool_p = 0 
)
inline

Definition at line 173 of file sc_temporary.h.

template<class T >
sc_core::sc_vpool< T >::~sc_vpool ( )
inline

Definition at line 181 of file sc_temporary.h.

Member Function Documentation

template<class T >
T * sc_core::sc_vpool< T >::allocate ( )
inline

Definition at line 186 of file sc_temporary.h.

template<class T >
void sc_core::sc_vpool< T >::reset ( )
inline

Definition at line 195 of file sc_temporary.h.

template<class T >
std::size_t sc_core::sc_vpool< T >::size ( )
inline

Definition at line 200 of file sc_temporary.h.

Member Data Documentation

template<class T>
std::size_t sc_core::sc_vpool< T >::m_pool_i
protected

Definition at line 161 of file sc_temporary.h.

template<class T>
T* sc_core::sc_vpool< T >::m_pool_p
protected

Definition at line 162 of file sc_temporary.h.

template<class T>
std::size_t sc_core::sc_vpool< T >::m_wrap
protected

Definition at line 163 of file sc_temporary.h.


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