omni::core::ScopedOmniCore

Defined in omni/core/OmniInit.h

struct ScopedOmniCore

Scoped object which calls OMNI_CORE_START() and OMNI_CORE_STOP().

Rather than directly using this object, use OMNI_CORE_INIT().

Public Functions

inline ScopedOmniCore(const OmniCoreStartArgs *args = nullptr)

Starts the Carbonite carb::Framework and calls omniCoreStart.

inline ~ScopedOmniCore()

Calls omniCoreStop and tears down the Carbonite carb::Framework.