omni::ext::IExtensions
Defined in omni/ext/IExtensions.h
- 
struct IExtensions
- omni.ext plugin interface - This interface is used to access the ExtensionManager - Public Functions - 
inline carb::ObjectPtr<ExtensionManager> createExtensionManager(carb::events::IEventStream *changeEventStream = nullptr)
- Creates a new extension manager. - Parameters
- changeEventStream – The carb::events::IEventStream to push change events. The stream will not be pumped by the manager. Optional (may be - nullptr)
- Returns
- An RAII pointer to an ExtensionManager 
 
 - Public Members - 
ExtensionManager *(*createExtensionManagerPtr)(carb::events::IEventStream *changeEventStream)
- Creates a new extension manager. - Warning - This function should not be used; instead call createExtensionManager() to return a RAII pointer. - Param changeEventStream
- The carb::events::IEventStream to push change events. The stream will not be pumped by the manager. Optional (may be - nullptr)
- Return
- A pointer to an ExtensionManager 
 
 - Public Static Functions - 
static inline constexpr carb::InterfaceDesc getInterfaceDesc() noexcept
- Returns information about this interface. - Auto-generated by CARB_PLUGIN_INTERFACE() or CARB_PLUGIN_INTERFACE_EX. - Returns
- The carb::InterfaceDesc struct with information about this interface. 
 
 - 
static inline constexpr carb::InterfaceDesc getLatestInterfaceDesc() noexcept
- Returns information about the latest version of this interface. - Auto-generated by CARB_PLUGIN_INTERFACE() or CARB_PLUGIN_INTERFACE_EX. - Returns
- The carb::InterfaceDesc struct with information about the latest version of this interface. 
 
 
- 
inline carb::ObjectPtr<ExtensionManager> createExtensionManager(carb::events::IEventStream *changeEventStream = nullptr)