FrameworkInitializerForBindings#
Fully qualified name: carb::FrameworkInitializerForBindings
Defined in carb/BindingsUtils.h
-
class FrameworkInitializerForBindings#
A helper class used by CARB_BINDINGS() to acquire and release the Framework for a binding.
Public Functions
- inline FrameworkInitializerForBindings(
- const char *scriptLanguage = "python",
Acquires the Carbonite Framework for this binding module.
Note
Calls acquireFrameworkForBindings() and OMNI_CORE_START() if the ONI core is not already started.
- Parameters:
scriptLanguage – The script language that this binding works with.
-
inline ~FrameworkInitializerForBindings()#
Releases the Carbonite Framework for this binding module.
Note
Calls OMNI_CORE_STOP() if the constructor initialized the ONI core, and releaseFrameworkForBindings().
Public Members
-
bool m_thisModuleStartedOmniCore#
A boolean indicating whether the constructor called OMNI_CORE_START().