Macros | |
| #define | SB_REGISTER_TYPE(TYPE, SHORT_NAME, UUID) |
| Registers a type in a SAMSON Extension. | |
| #define | COMMA |
| #define SB_REGISTER_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 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.
For classes that (directly or indirectly) derive from SBCReferenceTarget, the macro SB_REGISTER_TARGET_TYPE should be used instead.