libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros
CRNModule.h File Reference
#include <CRNString.h>
#include <CRNIO/CRNIO.h>
#include <dlfcn.h>
+ Include dependency graph for CRNModule.h:

Go to the source code of this file.

Classes

class  crn::ModuleManager< Category >
 A dynamic module manager. More...
 

Namespaces

 crn
 

Macros

#define CRN_MODULE_ENTRY_POINT(category)   crn_module_get_##category
 Internal. More...
 
#define CRN_MODULE_ENTRY_POINT_AS_STRING(category)   "crn_module_get_"#category
 Internal. More...
 
#define CRN_DECLARE_MODULE(categoryname)   public: static const char* GetModuleEntryPoint() { return CRN_MODULE_ENTRY_POINT_AS_STRING(categoryname); }
 Declares that the current class is a base for dynamic modules. More...
 
#define CRN_BEGIN_MODULE(classname, categoryname)   class classname: public categoryname {
 Begins the declaration of a module. More...
 
#define CRN_END_MODULE(classname, categoryname)   }; extern "C" categoryname* CRN_MODULE_ENTRY_POINT(categoryname)() { return new classname; }
 End the declaration and registration of a module. More...