Public Types | |
typedef std::map< std::string, Library * > | LibraryMap |
typedef std::map< std::string, Module * > | ModuleMap |
typedef std::vector< Module * > | ModuleList |
Public Member Functions | |
void | copy (plugin::Plugin::vector &arg) |
Module * | find (std::string name) |
void | add (Module *module) |
void | remove (Module *module) |
std::vector< Module * > | getList () |
const plugin::Plugin::map & | getPluginsMap () const |
const ModuleMap & | getModulesMap () const |
Library * | addLibrary (const std::string &plugin_name, bool builtin=false) |
void | removeLibrary (const std::string &plugin_name) |
Library * | findLibrary (const std::string &plugin_name) const |
void | shutdownModules () |
template<class T > | |
void | add (T *plugin) |
template<class T > | |
void | remove (T *plugin) |
Static Public Member Functions | |
static Registry & | singleton () |
static void | shutdown () |
Private Member Functions | |
Registry (const Registry &) | |
Registry & | operator= (const Registry &) |
void | buildDeps () |
Private Attributes | |
LibraryMap | library_registry_ |
ModuleMap | module_registry_ |
boost::scoped_ptr< Graph > | depend_graph_ |
plugin::Plugin::map | plugin_registry |
bool | deps_built_ |
Definition at line 46 of file registry.h.