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