#include <ICLUtils/CompatMacros.h>
#include <ICLUtils/Exception.h>
#include <ICLUtils/SmartPtr.h>
#include <ICLUtils/Any.h>
#include <ICLUtils/Function.h>
#include <ICLUtils/UncopiedInstance.h>
#include <ICLUtils/Mutex.h>
#include <vector>
#include <string>
#include <algorithm>
#include <map>
Go to the source code of this file.
◆ REGISTER_CONFIGURABLE
#define REGISTER_CONFIGURABLE |
( |
|
NAME, |
|
|
|
CREATE |
|
) |
| |
Value:struct StaticConfigurableRegistrationFor_##NAME{ \
typedef StaticConfigurableRegistrationFor_##NAME This; \
static Configurable *
create(){ \
CREATE; \
} \
StaticConfigurableRegistrationFor_##NAME(){ \
Configurable::register_configurable_type(#NAME, &
This::create); \
} \
} staticConfigurableRegistrationFor_##NAME;
ICLQt_API core::Img< T > create(const std::string &name, core::format fmt=icl::core::formatRGB)
create a test image (converted to destination core::format) (affinity for floats)
registration macro for configurables
- See also
- Configurable Registration
◆ REGISTER_CONFIGURABLE_DEFAULT