![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Data Structures | |
| class | DE_PluginHolder< TheConfType > |
| Base class to work with DE_Wrapper global registration of components. Control life-time of current configuration node. In creating stage load into global configuration. On destroying stage unload from global configuration. Operation to load/unload are thread safety. More... | |
| class | DE_MultiPluginHolder< TheConfTypes > |
| Helper class for variadic plugin registration. Allows registration of multiple configuration node types simultaneously. More... | |
Macros | |
| #define | DEPLUGIN(theNodeType, ...) |
| Macro to define plugin factory function for DE_Wrapper configuration nodes. | |
| #define DEPLUGIN | ( | theNodeType, | |
| ... ) |
Macro to define plugin factory function for DE_Wrapper configuration nodes.
| [in] | theNodeType | - first configuration node class to instantiate |
| [in] | ... | - additional configuration node classes to instantiate (optional) Needs to be called after loading of the library to register configuration nodes. |
Example of usage:
After loading of the library TKDESTEP:
Will create instances of all specified configuration nodes and set them to DE_Wrapper global configuration.
Note: if OCCT_NO_PLUGINS is defined, macro does nothing.