$darkmode
engine::events::TimeEvent Class Reference
Inheritance diagram for engine::events::TimeEvent:
[legend]
Collaboration diagram for engine::events::TimeEvent:
[legend]

Public Member Functions

 TimeEvent (const std::string &name, cloe::Duration t)
 
cloe::Duration time () const
 
cloe::EventPtr clone () const override
 
void to_json (cloe::Json &j) const override
 
- Public Member Functions inherited from cloe::Entity
 Entity (const std::string &name)
 
 Entity (const std::string &name, const std::string &desc)
 
std::string name () const
 
void set_name (const std::string &name)
 
std::string description () const
 
void set_description (const std::string &desc)
 

Additional Inherited Members

- Protected Member Functions inherited from cloe::Event
Logger logger () const
 
- Protected Attributes inherited from cloe::Entity
std::string name_
 
std::string desc_
 

Member Function Documentation

◆ clone()

cloe::EventPtr engine::events::TimeEvent::clone ( ) const
inlineoverridevirtual

Clone this event with correct state information.

This happens when a sticky trigger evaluates to true.

Implements cloe::Event.

Here is the call graph for this function:

◆ to_json()

void engine::events::TimeEvent::to_json ( cloe::Json &  ) const
inlineoverridevirtual

Describe the event state so that the same event can be re-created through it's JSON representation with the corresponding EventFactory.

Implements cloe::Event.


The documentation for this class was generated from the following file: