OpenRTM-aist
1.2.1
|
GlobalFactory テンプレートクラス [詳解]
#include <Factory.h>
フレンド | |
class | Singleton< GlobalFactory > |
その他の継承メンバ | |
![]() | |
enum | ReturnCode { FACTORY_OK, FACTORY_ERROR, ALREADY_EXISTS, NOT_FOUND, INVALID_ARG, UNKNOWN_ERROR } |
typedef std::map< Identifier, FactoryEntry > | FactoryMap |
typedef FactoryMap::iterator | FactoryMapIt |
typedef std::map< AbstractClass *, FactoryEntry > | ObjectMap |
typedef ObjectMap::iterator | ObjectMapIt |
![]() | |
typedef GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > * | SingletonClassPtr |
typedef ::coil::Mutex | Mutex |
![]() | |
bool | hasFactory (const Identifier &id) |
ファクトリー有無チェック [詳解] | |
std::vector< Identifier > | getIdentifiers () |
ファクトリーIDリスト取得 [詳解] | |
ReturnCode | addFactory (const Identifier &id, Creator creator, Destructor destructor) |
ファクトリー登録 [詳解] | |
ReturnCode | removeFactory (const Identifier &id) |
ファクトリー削除 [詳解] | |
AbstractClass * | createObject (const Identifier &id) |
ファクトリーオブジェクト生成 [詳解] | |
ReturnCode | deleteObject (const Identifier &id, AbstractClass *&obj) |
ファクトリーオブジェクト削除 [詳解] | |
ReturnCode | deleteObject (AbstractClass *&obj) |
ファクトリーオブジェクト削除 [詳解] | |
std::vector< AbstractClass * > | createdObjects () |
生成済みオブジェクトリストの取得 [詳解] | |
bool | isProducerOf (AbstractClass *obj) |
オブジェクトがこのファクトリの生成物かどうか調べる [詳解] | |
ReturnCode | objectToIdentifier (AbstractClass *obj, Identifier &id) |
オブジェクトからクラス識別子(ID)を取得する [詳解] | |
Creator | objectToCreator (AbstractClass *obj) |
オブジェクトのコンストラクタを取得する [詳解] | |
Destructor | objectToDestructor (AbstractClass *obj) |
オブジェクトのデストラクタを取得する [詳解] | |
![]() | |
static GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > & | instance () |
インスタンス生成 [詳解] | |
![]() | |
Singleton () | |
コンストラクタ [詳解] | |
~Singleton () | |
デストラクタ [詳解] | |
![]() | |
static coil::Mutex | m_mutex |
排他制御オブジェクト [詳解] | |
static GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > * | m_instance |
SingletonClass オブジェクト [詳解] | |
GlobalFactory テンプレートクラス
|
friend |