OpenRTM  1.0.0
Public メソッド | すべてのメンバ一覧
クラス coil::Allocator

Allocator クラス [詳細]

#include <Allocator.h>

coil::Allocatorに対する継承グラフ
coil::Singleton< Allocator >

Public メソッド

virtual ~Allocator ()
 デストラクタ [詳細]
 
virtual void * New (size_t t) throw (std::bad_alloc)
 メモリ領域確保 [詳細]
 
virtual void Delete (void *p) throw ()
 メモリ領域解放 [詳細]
 
virtual void * NewArray (size_t t) throw (std::bad_alloc)
 配列用メモリ領域確保 [詳細]
 
virtual void DeleteArray (void *p) throw ()
 配列用メモリ領域解放 [詳細]
 

Additional Inherited Members

- Public 型 inherited from coil::Singleton< Allocator >
typedef AllocatorSingletonClassPtr
 
typedef ::coil::Mutex Mutex
 
- Static Public メソッド inherited from coil::Singleton< Allocator >
static Allocatorinstance ()
 インスタンス生成 [詳細]
 
- Protected メソッド inherited from coil::Singleton< Allocator >
 Singleton ()
 
 ~Singleton ()
 デストラクタ [詳細]
 
- Static Protected 変数 inherited from coil::Singleton< Allocator >
static coil::Mutex m_mutex
 排他制御オブジェクト [詳細]
 
static Allocatorm_instance
 SingletonClass オブジェクト [詳細]
 

説明

Allocator クラス

コンストラクタとデストラクタ

virtual coil::Allocator::~Allocator ( )
inlinevirtual

デストラクタ

デストラクタ。

関数

virtual void coil::Allocator::Delete ( void *  p)
throw (
)
virtual

メモリ領域解放

メモリ領域を解放する。

引数
pメモリ領域へのポインタ
virtual void coil::Allocator::DeleteArray ( void *  p)
throw (
)
virtual

配列用メモリ領域解放

配列用メモリ領域を解放する。

引数
pメモリ領域へのポインタ
virtual void* coil::Allocator::New ( size_t  t)
throw (std::bad_alloc
)
virtual

メモリ領域確保

メモリ領域を確保する。

引数
t割り当てサイズ
戻り値
メモリ領域へのポインタ
virtual void* coil::Allocator::NewArray ( size_t  t)
throw (std::bad_alloc
)
virtual

配列用メモリ領域確保

配列用メモリ領域を確保する。

引数
t割り当てサイズ
戻り値
メモリ領域へのポインタ