OpenRTM-aist  1.2.1
フレンド | 全メンバ一覧
coil::GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > クラステンプレート

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

#include <Factory.h>

coil::GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > の継承関係図
Inheritance graph
[凡例]
coil::GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > 連携図
Collaboration graph
[凡例]

フレンド

class Singleton< GlobalFactory >
 

その他の継承メンバ

- 基底クラス 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
 
typedef std::map< AbstractClass *, FactoryEntry > ObjectMap
 
typedef ObjectMap::iterator ObjectMapIt
 
- 基底クラス coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > > に属する継承公開型
typedef GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > * SingletonClassPtr
 
typedef ::coil::Mutex Mutex
 
- 基底クラス 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)
 ファクトリーオブジェクト生成 [詳解]
 
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)
 オブジェクトのデストラクタを取得する [詳解]
 
- 基底クラス coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > > に属する継承静的公開メンバ関数
static GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > & instance ()
 インスタンス生成 [詳解]
 
- 基底クラス coil::Singleton< GlobalFactory< AbstractClass, Identifier, Compare, Creator, Destructor > > に属する継承限定公開メンバ関数
 Singleton ()
 コンストラクタ [詳解]
 
 ~Singleton ()
 デストラクタ [詳解]
 
- 基底クラス 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

このクラス詳解は次のファイルから抽出されました: