|
Any++
|
Macros to define static runtime data for open dispatch. Only neccessary for DLL scenarios. More...
Macros | |
| #define | ANY_DISPATCH_COUNT_FWD(...) |
| Declare access to the dispatch counter for a specific any. Must be placed in global namespace. | |
| #define | ANY_DISPATCH_COUNT(...) |
| Define the dispatch counter for a specific any. Must be placed in global namespace. | |
| #define | ANY_DISPATCH_FOR_FWD(...) |
| Declare access to the dispatch table instance function for a model. Must be placed in global namespace. | |
| #define | ANY_DISPATCH_FOR(...) |
| Define the dispatch table instance function for a model. Must be placed in global namespace. | |
Macros to define static runtime data for open dispatch. Only neccessary for DLL scenarios.
Name conventions: _FWD: macro to declare the function signature only. To be used in header files.
ANY_DISPATCH_COUNT macros declare/define the dispatch counter for a specific any. This dispatch counter is used to assign unique indices to each dispatch.
ANY_DISPATCH_FOR macros declare/define the dispatch table instance for a any. This is necessary once for each model class that participates in open dispatch.
| #define ANY_DISPATCH_COUNT | ( | ... | ) |
Define the dispatch counter for a specific any. Must be placed in global namespace.
| ns_ | Namespace of the any. |
| any_ | Name of the any (without any_ prefix). |
| #define ANY_DISPATCH_COUNT_FWD | ( | ... | ) |
Declare access to the dispatch counter for a specific any. Must be placed in global namespace.
| export_ | To supply an export macro in a DLL scenario. |
| ns_ | Namespace of the any. |
| any_ | Name of the any (without any_ prefix). |
| #define ANY_DISPATCH_FOR | ( | ... | ) |
Define the dispatch table instance function for a model. Must be placed in global namespace.
| class_ | The model class with fully qualified name. |
| interface_namespace_ | Namespace of the any. |
| interface_ | Name of the any (without any_ prefix). |
| #define ANY_DISPATCH_FOR_FWD | ( | ... | ) |
Declare access to the dispatch table instance function for a model. Must be placed in global namespace.
| export_ | To supply an export macro in a DLL scenario. |
| class_ | The model class with fully qualified name. |
| interface_namespace_ | Namespace of the any. |
| interface_ | Name of the any (without any_ prefix). |