Image Component Library (ICL)
|
#include <ICLUtils/Function.h>
#include <ICLUtils/TextTable.h>
#include <string>
#include <map>
#include <sstream>
Go to the source code of this file.
Classes | |
class | icl::utils::PluginRegister< T > |
Utility class for plugin registration. More... | |
struct | icl::utils::PluginRegister< T >::Plugin |
internally used instance type: More... | |
Namespaces | |
namespace | icl |
The ICL-namespace. | |
namespace | icl::utils |
Defines | |
#define | REGISTER_PLUGIN(TYPE, NAME, CREATE_FUNCTION, DESCRIPTION, SYNTAX) |
#define REGISTER_PLUGIN | ( | TYPE, | |
NAME, | |||
CREATE_FUNCTION, | |||
DESCRIPTION, | |||
SYNTAX | |||
) |
struct Static_##TYPE##_PluginRegistration__##NAME{ \
Static_##TYPE##_PluginRegistration__##NAME(){ \
PluginRegister<TYPE> &r = PluginRegister<TYPE>::instance(); \
r.add(#NAME,CREATE_FUNCTION,DESCRIPTION,SYNTAX); \
} \
} static_##TYPE##_PluginRegistration__##NAME;