The Gaudi Framework
v29r0 (ff2e7097)
|
Classes | |
class | Factory |
Class providing default factory functions. More... | |
class | Logger |
Simple logging class, just to provide a default implementation. More... | |
class | Registry |
In-memory database of the loaded factories. More... | |
Functions | |
GAUDIPS_API void * | getCreator (const std::string &id, const std::string &type) |
Function used to load a specific factory function. More... | |
template<typename F > | |
F | getCreator (const std::string &id) |
Convoluted implementation of getCreator with an embedded reinterpret_cast, used to avoid the warning. More... | |
GAUDIPS_API std::string | demangle (const std::type_info &id) |
Return a canonical name for type_info object (implementation borrowed from GaudiKernel/System). More... | |
template<typename T > | |
std::string | demangle () |
Return a canonical name for the template argument. More... | |
GAUDIPS_API Logger & | logger () |
Return the current logger instance. More... | |
GAUDIPS_API void | setLogger (Logger *logger) |
Set the logger instance to use. More... | |
std::string | demangle (const std::string &id) |
std::string Gaudi::PluginService::Details::demangle | ( | const std::type_info & | id | ) |
Return a canonical name for type_info object (implementation borrowed from GaudiKernel/System).
Definition at line 151 of file PluginService.cpp.
|
inline |
Return a canonical name for the template argument.
Definition at line 106 of file PluginServiceDetails.h.
std::string Gaudi::PluginService::Details::demangle | ( | const std::string & | id | ) |
Definition at line 136 of file PluginService.cpp.
void * Gaudi::PluginService::Details::getCreator | ( | const std::string & | id, |
const std::string & | type | ||
) |
Function used to load a specific factory function.
Definition at line 131 of file PluginService.cpp.
|
inline |
Convoluted implementation of getCreator with an embedded reinterpret_cast, used to avoid the warning.
warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object
It is an ugly trick but works.
See:
Definition at line 89 of file PluginServiceDetails.h.
Logger & Gaudi::PluginService::Details::logger | ( | ) |
Return the current logger instance.
Definition at line 345 of file PluginService.cpp.
void Gaudi::PluginService::Details::setLogger | ( | Logger * | logger | ) |
Set the logger instance to use.
It must be a new instance and the ownership is passed to the function.
Definition at line 346 of file PluginService.cpp.