|
My Project
|
the singleton that a plug-in handler really is More...
#include <mia/core/handler.hh>
Public Types | |
| typedef T::const_iterator | const_iterator |
| iterator to iterator over the actual plug-ins | |
| typedef T | Instance |
| The instance of the plugin handler. | |
| typedef T::CPluginMap::value_type | value_type |
| the name,plug-in pair | |
Static Public Member Functions | |
| static bool | add_plugin (typename T::PInterface p) |
| static const T & | instance () |
| static const T * | pointer () |
| static void | set_search_path (const CPluginSearchpath &searchpath) |
Static Protected Attributes | |
| static CMutex | m_creation_mutex |
the singleton that a plug-in handler really is
Class to make a singleton out of a plugin handler by deriving from it.
Definition at line 158 of file handler.hh.
| typedef T::const_iterator THandlerSingleton< T >::const_iterator |
iterator to iterator over the actual plug-ins
Definition at line 172 of file handler.hh.
| typedef T THandlerSingleton< T >::Instance |
The instance of the plugin handler.
Definition at line 169 of file handler.hh.
| typedef T::CPluginMap::value_type THandlerSingleton< T >::value_type |
|
static |
|
static |
|
static |
|
static |
Set the plugin search path for the plug-in - throws "runtime_error" if the plugin handler is already instanciated.
|
staticprotected |
This mutex ensures that each Singleton is indeed only created once and no race condition happens within a multi-threaded environmnet
Definition at line 193 of file handler.hh.