#include <sc_temporary.h>
Public メソッド | |
sc_vpool (int log2, T *pool_p=0) | |
~sc_vpool () | |
T * | allocate () |
void | reset () |
int | size () |
Protected 変数 | |
int | m_pool_i |
T * | m_pool_p |
int | m_wrap |
sc_temporary.h の 176 行で定義されています。
sc_core::sc_vpool< T >::sc_vpool | ( | int | log2, | |
T * | pool_p = 0 | |||
) | [inline] |
sc_temporary.h の 190 行で定義されています。
00191 { 00192 // if ( log2 > 32 ) SC_REPORT_ERROR(SC_ID_POOL_SIZE_, ""); 00193 m_pool_i = 0; 00194 m_pool_p = pool_p ? pool_p : new T[1 << log2]; 00195 m_wrap = ~(-1 << log2); 00196 }
sc_core::sc_vpool< T >::~sc_vpool | ( | ) | [inline] |
T * sc_core::sc_vpool< T >::allocate | ( | ) | [inline] |
void sc_core::sc_vpool< T >::reset | ( | ) | [inline] |
int sc_core::sc_vpool< T >::size | ( | ) | [inline] |
int sc_core::sc_vpool< T >::m_pool_i [protected] |
sc_temporary.h の 178 行で定義されています。
T* sc_core::sc_vpool< T >::m_pool_p [protected] |
sc_temporary.h の 179 行で定義されています。
int sc_core::sc_vpool< T >::m_wrap [protected] |
sc_temporary.h の 180 行で定義されています。