the singleton that a plug-in handler really is More...
#include <mia/core/handler.hh>
Inherits T.
| Public Types | |
| typedef T::const_iterator | const_iterator | 
| iterator to iterator over the actual plug-ins  More... | |
| typedef T | Instance | 
| The instance of the plugin handler.  More... | |
| typedef T::CPluginMap::value_type | value_type | 
| the name,plug-in pair  More... | |
| 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 157 of file handler.hh.
| typedef T::const_iterator THandlerSingleton< T >::const_iterator | 
iterator to iterator over the actual plug-ins
Definition at line 170 of file handler.hh.
| typedef T THandlerSingleton< T >::Instance | 
The instance of the plugin handler.
Definition at line 167 of file handler.hh.
| typedef T::CPluginMap::value_type THandlerSingleton< T >::value_type | 
| 
 | static | 
| 
 | static | 
Referenced by create_filter_chain(), load_2dtransform(), load_3dtransform(), produce_2d_shape(), produce_2dfullcost(), produce_2dimage_filter(), produce_2dtransform_factory(), produce_3dimage_filter(), produce_3dtransform_factory(), mia::produce_ica_factory(), produce_mesh_filter(), produce_minimizer(), produce_spacial_kernel(), produce_spline_boundary_condition(), produce_spline_kernel(), and save_transform().
| 
 | 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 191 of file handler.hh.