Data Structures | Macros
core/creator.hh File Reference
#include <mia/core/pixeltype.hh>
#include <mia/core/factory.hh>
#include <mia/core/handler.hh>

Go to the source code of this file.

Data Structures

struct  creator_type
 
class  TImageCreator< T >
 The base class for generic image creation. More...
 

Macros

#define DEFINE_Image_Creator(TYPE)
 
#define INSTANCIATE_Image_Creator(TYPE)
 

Macro Definition Documentation

#define DEFINE_Image_Creator (   TYPE)
Value:
typedef TImageCreator<TYPE> TYPE##Creator; \
typedef TFactory<TImageCreator<TYPE> > TYPE##CreatorPlugin; \
typedef THandlerSingleton<TFactoryPluginHandler<TYPE##CreatorPlugin> > TYPE##CreatorPluginHandler;\

Definition at line 64 of file core/creator.hh.

#define INSTANCIATE_Image_Creator (   TYPE)
Value:
template class TImageCreator<TYPE>;\
template class TPlugin<TYPE, creator_type>; \
template class TFactory<TImageCreator<TYPE> >; \
template class TPluginHandler<TYPE##CreatorPlugin>; \
template class TFactoryPluginHandler<TYPE##CreatorPlugin>; \
template class THandlerSingleton<TFactoryPluginHandler<TYPE##CreatorPlugin> >;

Definition at line 71 of file core/creator.hh.