Macros | |
#define | SB_REGISTER_TARGET_TYPE(TYPE, SHORT_NAME, UUID) |
Registers a target type in a SAMSON Extension. | |
#define SB_REGISTER_TARGET_TYPE | ( | TYPE, | |
SHORT_NAME, | |||
UUID | |||
) |
TYPE | The registered type |
SHORT_NAME | The short name of the registered type (in quotes) |
UUID | The UUID of the registered type (in quotes) |
This macro registers a target type in a SAMSON Extension.
Assume for example a SAMSON Extension contains the following class:
The SB_REGISTER_TYPE macro declares to SAMSON's introspection mechanism that A
is a registered type, and that it is a reference target (i.e. that it derives from SBCReferenceTarget).
For classes that do not (directly or indirectly) derive from SBCReferenceTarget, the macro SB_REGISTER_TYPE should be used instead.