MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ auto_generate_name()

std::string MayaFlux::Vruta::EventManager::auto_generate_name ( const std::shared_ptr< Event > &  event) const
private

Generate automatic name for a event based on its type.

Parameters
eventThe event to name
Returns
Generated name

Definition at line 88 of file EventManager.cpp.

89{
90 return "event_" + std::to_string(get_next_event_id());
91}
uint64_t get_next_event_id() const
Generates a unique event ID for new events.

References get_next_event_id().

Referenced by add_event().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: