#include <PluginService/PluginService.h>
Static Public Member Functions | |
template<typename R> | |
static R | Create (const std::string &name) |
template<typename R, typename A0> | |
static R | Create (const std::string &name, const A0 &a0) |
template<typename R, typename A0, typename A1> | |
static R | Create (const std::string &name, const A0 &a0, const A1 &a1) |
template<typename R, typename A0, typename A1, typename A2> | |
static R | Create (const std::string &name, const A0 &a0, const A1 &a1, const A2 &a2) |
template<typename R, typename A0, typename A1, typename A2, typename A3> | |
static R | Create (const std::string &name, const A0 &a0, const A1 &a1, const A2 &a2, const A3 &a3) |
template<typename R, typename A0, typename A1, typename A2, typename A3, typename A4> | |
static R | Create (const std::string &name, const A0 &a0, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) |
template<typename R, typename A0, typename A1, typename A2, typename A3, typename A4, typename A5> | |
static R | Create (const std::string &name, const A0 &a0, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) |
template<typename R, typename A0, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6> | |
static R | Create (const std::string &name, const A0 &a0, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) |
template<typename R, typename A0, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7> | |
static R | Create (const std::string &name, const A0 &a0, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7) |
static void * | Create (const std::string &name, const Type &ret, const std::vector< ValueObject > &arg) |
template<typename T> | |
static bool | CompareId (const Any &id1, const Any &id2) |
template<typename T> | |
static std::string | StringId (const Any &id) |
template<typename R, typename T> | |
static R | CreateWithId (const T &id) |
template<typename R, typename T, typename A0> | |
static R | CreateWithId (const T &id, const A0 &a0) |
template<typename R, typename T, typename A0, typename A1> | |
static R | CreateWithId (const T &id, const A0 &a0, const A1 &a1) |
template<typename R, typename T, typename A0, typename A1, typename A2> | |
static R | CreateWithId (const T &id, const A0 &a0, const A1 &a1, const A2 &a2) |
template<typename R, typename T, typename A0, typename A1, typename A2, typename A3> | |
static R | CreateWithId (const T &id, const A0 &a0, const A1 &a1, const A2 &a2, const A3 &a3) |
static void * | CreateWithId (const Any &id, std::string(*str)(const Any &), bool(*cmp)(const Any &, const Any &), const Type &ret, const std::vector< ValueObject > &arg) |
static std::string | FactoryName (const std::string &n) |
static int | Debug () |
static void | SetDebug (int) |
Private Member Functions | |
PluginService () | |
~PluginService () | |
int | LoadFactoryLib (const std::string &name) |
int | ReadMaps () |
Static Private Member Functions | |
static PluginService & | Instance () |
Private Attributes | |
int | fDebugLevel |
Scope | fFactories |
PluginFactoryMap * | fFactoryMap |
Definition at line 34 of file PluginService.h.
Reflex::PluginService::PluginService | ( | ) | [private] |
Constructor
Reflex::PluginService::~PluginService | ( | ) | [private] |
Destructor
static R Reflex::PluginService::Create | ( | const std::string & | name | ) | [inline, static] |
static R Reflex::PluginService::Create | ( | const std::string & | name, | |
const A0 & | a0 | |||
) | [inline, static] |
Definition at line 45 of file PluginService.h.
References Create, Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static R Reflex::PluginService::Create | ( | const std::string & | name, | |
const A0 & | a0, | |||
const A1 & | a1 | |||
) | [inline, static] |
Definition at line 54 of file PluginService.h.
References Create, Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static R Reflex::PluginService::Create | ( | const std::string & | name, | |
const A0 & | a0, | |||
const A1 & | a1, | |||
const A2 & | a2 | |||
) | [inline, static] |
Definition at line 65 of file PluginService.h.
References Create, Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static R Reflex::PluginService::Create | ( | const std::string & | name, | |
const A0 & | a0, | |||
const A1 & | a1, | |||
const A2 & | a2, | |||
const A3 & | a3 | |||
) | [inline, static] |
Definition at line 78 of file PluginService.h.
References Create, Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static R Reflex::PluginService::Create | ( | const std::string & | name, | |
const A0 & | a0, | |||
const A1 & | a1, | |||
const A2 & | a2, | |||
const A3 & | a3, | |||
const A4 & | a4 | |||
) | [inline, static] |
Definition at line 94 of file PluginService.h.
References Create, Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static R Reflex::PluginService::Create | ( | const std::string & | name, | |
const A0 & | a0, | |||
const A1 & | a1, | |||
const A2 & | a2, | |||
const A3 & | a3, | |||
const A4 & | a4, | |||
const A5 & | a5 | |||
) | [inline, static] |
Definition at line 112 of file PluginService.h.
References Create, Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static R Reflex::PluginService::Create | ( | const std::string & | name, | |
const A0 & | a0, | |||
const A1 & | a1, | |||
const A2 & | a2, | |||
const A3 & | a3, | |||
const A4 & | a4, | |||
const A5 & | a5, | |||
const A6 & | a6 | |||
) | [inline, static] |
Definition at line 132 of file PluginService.h.
References Create, Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static R Reflex::PluginService::Create | ( | const std::string & | name, | |
const A0 & | a0, | |||
const A1 & | a1, | |||
const A2 & | a2, | |||
const A3 & | a3, | |||
const A4 & | a4, | |||
const A5 & | a5, | |||
const A6 & | a6, | |||
const A7 & | a7 | |||
) | [inline, static] |
Definition at line 154 of file PluginService.h.
References Create, Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static void* Reflex::PluginService::Create | ( | const std::string & | name, | |
const Type & | ret, | |||
const std::vector< ValueObject > & | arg | |||
) | [static] |
static std::string Reflex::PluginService::StringId | ( | const Any & | id | ) | [inline, static] |
static R Reflex::PluginService::CreateWithId | ( | const T & | id, | |
const A0 & | a0 | |||
) | [inline, static] |
Definition at line 209 of file PluginService.h.
References Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static R Reflex::PluginService::CreateWithId | ( | const T & | id, | |
const A0 & | a0, | |||
const A1 & | a1 | |||
) | [inline, static] |
Definition at line 218 of file PluginService.h.
References Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static R Reflex::PluginService::CreateWithId | ( | const T & | id, | |
const A0 & | a0, | |||
const A1 & | a1, | |||
const A2 & | a2 | |||
) | [inline, static] |
Definition at line 228 of file PluginService.h.
References Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static R Reflex::PluginService::CreateWithId | ( | const T & | id, | |
const A0 & | a0, | |||
const A1 & | a1, | |||
const A2 & | a2, | |||
const A3 & | a3 | |||
) | [inline, static] |
Definition at line 240 of file PluginService.h.
References Reflex::ValueObject::Create(), Reflex::Tools::MakeVector(), and R.
static void* Reflex::PluginService::CreateWithId | ( | const Any & | id, | |
std::string(*)(const Any &) | str, | |||
bool(*)(const Any &, const Any &) | cmp, | |||
const Type & | ret, | |||
const std::vector< ValueObject > & | arg | |||
) | [static] |
static std::string Reflex::PluginService::FactoryName | ( | const std::string & | n | ) | [static] |
static int Reflex::PluginService::Debug | ( | ) | [static] |
static void Reflex::PluginService::SetDebug | ( | int | ) | [static] |
static PluginService& Reflex::PluginService::Instance | ( | ) | [static, private] |
Get single instance of PluginService
int Reflex::PluginService::LoadFactoryLib | ( | const std::string & | name | ) | [private] |
int Reflex::PluginService::ReadMaps | ( | ) | [private] |
int Reflex::PluginService::fDebugLevel [private] |
Definition at line 279 of file PluginService.h.
Scope Reflex::PluginService::fFactories [private] |
Definition at line 281 of file PluginService.h.
PluginFactoryMap* Reflex::PluginService::fFactoryMap [private] |
Definition at line 283 of file PluginService.h.