Plug-in handling

Classes and functions that implement the plug-in infrastructure. More...

Data Structures

class  CDLLoader
 Portabe Dynamic Link Library Loader. More...
 
class  CPluginBase
 The base class for all plug-ins. More...
 
class  CPluginHandlerBase
 The base class for all plugin handlers. More...
 
class  CPluginModule
 The plugin module loading class. More...
 
class  CProductBase
 The base class for all plug-in created object. More...
 
class  CProductCache
 base class for the product cache More...
 
class  TFactory< P >
 This is tha base of all plugins that create "things", like filters, cost functions time step operatores and the like. More...
 
class  TFactoryPluginHandler< I >
 the Base class for all plugn handlers that deal with factory plugins. More...
 
class  THandlerSingleton< T >
 the singleton that a plug-in handler really is More...
 
class  TIOPlugin< D >
 The templatex basis class of all IO plug-ins. More...
 
class  TIOPluginHandler< I >
 Template for all plug-in handlers that are responsible for data IO. More...
 
class  TPlugin< D, T >
 The generic base for all plug-ins. More...
 
class  TPluginHandler< I >
 The basic template of all plugin handlers. More...
 

Macros

#define EXPLICIT_INSTANCE_DERIVED_FACTORY_HANDLER(T, F)
 
#define EXPLICIT_INSTANCE_HANDLER(T)
 
#define EXPLICIT_INSTANCE_PLUGIN(T)
 
#define EXPLICIT_INSTANCE_PLUGIN_HANDLER(P)
 

Typedefs

typedef CPluginBase *(* FPluginInterface) (void)
 
typedef std::map< std::string, const CPluginHandlerBase * > HandlerHelpMap
 A map that is used to collect the plug-in handlers used in a program. More...
 
typedef std::shared_ptr< CPluginModulePPluginModule
 

Detailed Description

Classes and functions that implement the plug-in infrastructure.

Macro Definition Documentation

◆ EXPLICIT_INSTANCE_DERIVED_FACTORY_HANDLER

#define EXPLICIT_INSTANCE_DERIVED_FACTORY_HANDLER (   T,
 
)
Value:
template class TFactory<T>; \
template class TPluginHandler<F>; \
template class TFactoryPluginHandler<F>; \
the singleton that a plug-in handler really is
Definition: handler.hh:157
This is tha base of all plugins that create "things", like filters, cost functions time step operator...
Definition: factory.hh:49
the Base class for all plugn handlers that deal with factory plugins.
Definition: factory.hh:93
The generic base for all plug-ins.
Definition: plugin_base.hh:170
The basic template of all plugin handlers.
Definition: handler.hh:56

Do an explicit instanciation of plug-in classes and handlers for plugins that are explicitely derived from TFactory.

Definition at line 399 of file factory.hh.

◆ EXPLICIT_INSTANCE_HANDLER

#define EXPLICIT_INSTANCE_HANDLER (   T)
Value:
template class TFactory<T>; \
template class TPluginHandler<TFactory<T> >; \
template class TFactoryPluginHandler<TFactory<T> >; \
the singleton that a plug-in handler really is
Definition: handler.hh:157
This is tha base of all plugins that create "things", like filters, cost functions time step operator...
Definition: factory.hh:49
the Base class for all plugn handlers that deal with factory plugins.
Definition: factory.hh:93
The generic base for all plug-ins.
Definition: plugin_base.hh:170
The basic template of all plugin handlers.
Definition: handler.hh:56

Do some explicit instanciation for the plugin classe and the handler of a plugin based on TFactoryPluginHandler

Definition at line 386 of file factory.hh.

◆ EXPLICIT_INSTANCE_PLUGIN

#define EXPLICIT_INSTANCE_PLUGIN (   T)
Value:
template class TFactory<T>;
This is tha base of all plugins that create "things", like filters, cost functions time step operator...
Definition: factory.hh:49
The generic base for all plug-ins.
Definition: plugin_base.hh:170

Do some explicit instanciation for a plugin based on TFactory

Definition at line 368 of file factory.hh.

◆ EXPLICIT_INSTANCE_PLUGIN_HANDLER

#define EXPLICIT_INSTANCE_PLUGIN_HANDLER (   P)
Value:
template class TPluginHandler<P>; \
template class TFactoryPluginHandler<P>; \
the singleton that a plug-in handler really is
Definition: handler.hh:157
the Base class for all plugn handlers that deal with factory plugins.
Definition: factory.hh:93
The basic template of all plugin handlers.
Definition: handler.hh:56

Do some explicit instanciation for a plugin based on TFactoryPluginHandler

Definition at line 376 of file factory.hh.

Typedef Documentation

◆ FPluginInterface

typedef CPluginBase*(* FPluginInterface) (void)

C function type that is provided by the plug-ins as entry point

Definition at line 38 of file module.hh.

◆ HandlerHelpMap

typedef std::map<std::string, const CPluginHandlerBase*> HandlerHelpMap

A map that is used to collect the plug-in handlers used in a program.

This map is used to collect that plug-in handlers that are used by the TFactoryParameter in order to obtain a list of plug.in dependecies for the program help.

Definition at line 35 of file handlerbase.hh.

◆ PPluginModule

typedef std::shared_ptr<CPluginModule > PPluginModule

Shared pointer type of the CPluginModule

Definition at line 80 of file module.hh.