Convinient macros for custom plugin creation
Definition in file plugin.h.
Go to the source code of this file.
Macros | |
: name of the plugin | |
DS_CUSTOM_PLUGIN_DEFINE: @description: description of the plugin
Utility macro to create a custom plugin | |
#define | DS_CUSTOM_PLUGIN_DEFINE(name, description, version, license) |
#define | DS_CUSTOM_FACTORY_DEFINE_PARAMS_BEGIN(param_spec) static const char* param_spec = "[" |
Parameter Specification. More... | |
#define | DS_CUSTOM_FACTORY_DEFINE_PARAM(name, type, brief, description, default_value) "{name: "#name", type: "#type", brief: "#brief", description: "#description", default_value: "#default_value"}," |
#define | DS_CUSTOM_FACTORY_DEFINE_PARAMS_END "]"; |
#define | DS_CUSTOM_FACTORY_DEFINE_FULL(factory_name, long_name, klass, description, author, signals, param_spec, object_class, ...) |
DS_CUSTOM_FACTORY_DEFINE_FULL: @factory_name: name of the factory @long_name: long name of the factory @klass: category string @description: detailed information. More... | |
#define | DS_CUSTOM_FACTORY_DEFINE_WITH_PARAMS(factory_name, long_name, klass, description, author, signals, param_spec, object_class, implementation) DS_CUSTOM_FACTORY_DEFINE_FULL(factory_name, long_name, klass, description, author, signals, param_spec, object_class, new implementation) |
convinient macro for DS_CUSTOM_FACTORY_DEFINE_FULL More... | |
#define | DS_CUSTOM_FACTORY_DEFINE_WITH_SIGNALS(factory_name, long_name, klass, description, author, signals, object_class, implementation) |
convinient macro for DS_CUSTOM_FACTORY_DEFINE_FULL More... | |
#define | DS_CUSTOM_FACTORY_DEFINE(factory_name, long_name, klass, description, author, object_class, implementation) |
convinient macro for DS_CUSTOM_FACTORY_DEFINE_FULL More... | |
#define DS_CUSTOM_FACTORY_DEFINE | ( | factory_name, | |
long_name, | |||
klass, | |||
description, | |||
author, | |||
object_class, | |||
implementation | |||
) |
#define DS_CUSTOM_FACTORY_DEFINE_FULL | ( | factory_name, | |
long_name, | |||
klass, | |||
description, | |||
author, | |||
signals, | |||
param_spec, | |||
object_class, | |||
... | |||
) |
DS_CUSTOM_FACTORY_DEFINE_FULL: @factory_name: name of the factory @long_name: long name of the factory @klass: category string @description: detailed information.
Utility macro to create a custom factory
#define DS_CUSTOM_FACTORY_DEFINE_PARAM | ( | name, | |
type, | |||
brief, | |||
description, | |||
default_value | |||
) | "{name: "#name", type: "#type", brief: "#brief", description: "#description", default_value: "#default_value"}," |
#define DS_CUSTOM_FACTORY_DEFINE_PARAMS_BEGIN | ( | param_spec | ) | static const char* param_spec = "[" |
#define DS_CUSTOM_FACTORY_DEFINE_WITH_PARAMS | ( | factory_name, | |
long_name, | |||
klass, | |||
description, | |||
author, | |||
signals, | |||
param_spec, | |||
object_class, | |||
implementation | |||
) | DS_CUSTOM_FACTORY_DEFINE_FULL(factory_name, long_name, klass, description, author, signals, param_spec, object_class, new implementation) |
#define DS_CUSTOM_FACTORY_DEFINE_WITH_SIGNALS | ( | factory_name, | |
long_name, | |||
klass, | |||
description, | |||
author, | |||
signals, | |||
object_class, | |||
implementation | |||
) |
#define DS_CUSTOM_PLUGIN_DEFINE | ( | name, | |
description, | |||
version, | |||
license | |||
) |