#include <Extensions.h>
Public Types | |
typedef ObjectImpl *(* | CreateFunction )() |
typedef ExtensionInfo(* | CastFunction )(ObjectType eType, const std::string &strKind, const std::string &strRole) |
typedef std::pair < CastFunction, CreateFunction > | FunctionPair |
typedef std::vector< FunctionPair > | FunctionVector |
Public Member Functions | |
ExtensionManager (const std::vector< std::string > &vecKinds, CastFunction pFnCast, CreateFunction pFnCreate) | |
~ExtensionManager () | |
Static Public Member Functions | |
static FunctionVector & | vecKindFunctions () |
static ObjectImpl * | createImpl (ObjectType eType, const std::string &strKind, const std::string &strRole) |
Public Attributes | |
friend | ObjectImpl |
friend | ExtensionsCleanup |
Definition at line 123 of file Extensions.h.
typedef ExtensionInfo(* BON::ExtensionManager::CastFunction)(ObjectType eType, const std::string &strKind, const std::string &strRole) |
Definition at line 128 of file Extensions.h.
typedef ObjectImpl*(* BON::ExtensionManager::CreateFunction)() |
Definition at line 127 of file Extensions.h.
typedef std::pair<CastFunction,CreateFunction> BON::ExtensionManager::FunctionPair |
Definition at line 130 of file Extensions.h.
typedef std::vector<FunctionPair> BON::ExtensionManager::FunctionVector |
Definition at line 131 of file Extensions.h.
BON::ExtensionManager::ExtensionManager | ( | const std::vector< std::string > & | vecKinds, | |
CastFunction | pFnCast, | |||
CreateFunction | pFnCreate | |||
) |
Definition at line 175 of file Extensions.cpp.
BON::ExtensionManager::~ExtensionManager | ( | ) | [inline] |
Definition at line 141 of file Extensions.h.
ObjectImpl * BON::ExtensionManager::createImpl | ( | ObjectType | eType, | |
const std::string & | strKind, | |||
const std::string & | strRole | |||
) | [static] |
Definition at line 184 of file Extensions.cpp.
static FunctionVector& BON::ExtensionManager::vecKindFunctions | ( | ) | [inline, static] |
Definition at line 151 of file Extensions.h.
Definition at line 162 of file Extensions.h.
Definition at line 161 of file Extensions.h.