carb::events::IEvents
Defined in carb/events/IEvents.h
- 
struct IEvents
- Interface definition for carb.events. - Public Functions - 
inline IEventStreamPtr createEventStream(const char *name = nullptr) noexcept
- Create new event stream. - Parameters
- name – An optional name to give the event stream for logging and profiling. Names do not need to be unique but are recommended to be unique. If - nullptr, an internal name will be determined.
- Returns
- A pointer to the new event stream. 
 
 - 
virtual IEventStream *createEventStreamPtr() = 0
- Create new event stream. - Deprecated since version ``carb::events::IEvents::internalCreateEventStream``: instead. 
 - Returns
- A pointer to the new event stream. 
 
 - 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 IEventStreamPtr createEventStream(const char *name = nullptr) noexcept