OpenRTM  1.0.0
フレンド | すべてのメンバ一覧
クラス テンプレート coil::GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor >

GlobalFactory テンプレートクラス [詳細]

#include <Factory.h>

coil::GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor >に対する継承グラフ
coil::Factory< AbstractClass, Identifier, Compare, Creator, Destructor > coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > >

フレンド

class Singleton< GlobalFactory >
 

Additional Inherited Members

- Public 型 inherited from coil::Factory< AbstractClass, Identifier, Compare, Creator, Destructor >
enum  ReturnCode {
  FACTORY_OK, FACTORY_ERROR, ALREADY_EXISTS, NOT_FOUND,
  INVALID_ARG, UNKNOWN_ERROR
}
 
typedef std::map< Identifier,
FactoryEntry > 
FactoryMap
 
typedef FactoryMap::iterator FactoryMapIt
 
- Public 型 inherited from coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > >
typedef GlobalFactory
< AbstractClass, Identifier,
Compare, Creator, Destructor > * 
SingletonClassPtr
 
typedef ::coil::Mutex Mutex
 
- Public メソッド inherited from coil::Factory< AbstractClass, Identifier, Compare, Creator, Destructor >
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)
 ファクトリーオブジェクト生成 [詳細]
 
void deleteObject (const Identifier &id, AbstractClass *&obj)
 ファクトリーオブジェクト削除 [詳細]
 
void deleteObject (AbstractClass *&obj)
 ファクトリーオブジェクト削除 [詳細]
 
- Static Public メソッド inherited from coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > >
static GlobalFactory
< AbstractClass, Identifier,
Compare, Creator, Destructor > & 
instance ()
 インスタンス生成 [詳細]
 
- Protected メソッド inherited from coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > >
 Singleton ()
 
 ~Singleton ()
 デストラクタ [詳細]
 
- Static Protected 変数 inherited from coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > >
static coil::Mutex m_mutex
 排他制御オブジェクト [詳細]
 
static GlobalFactory
< AbstractClass, Identifier,
Compare, Creator, Destructor > * 
m_instance
 SingletonClass オブジェクト [詳細]
 

説明

template<class AbstractClass, typename Identifier = std::string, typename Compare = std::less<Identifier>, typename Creator = AbstractClass* (*)(), typename Destructor = void (*)(AbstractClass*&)>
class coil::GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor >

GlobalFactory テンプレートクラス

フレンドと関連する関数

template<class AbstractClass , typename Identifier = std::string, typename Compare = std::less<Identifier>, typename Creator = AbstractClass* (*)(), typename Destructor = void (*)(AbstractClass*&)>
friend class Singleton< GlobalFactory >
friend