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

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::Event
virtual void to_json (fable::Json &) const =0
 
 Entity (std::string name)
 
 Entity (std::string name, std::string desc)
 
- Public Member Functions inherited from cloe::Entity
 Entity (std::string name)
 
 Entity (std::string name, std::string desc)
 
const std::string & name () const
 
void set_name (std::string name)
 
const std::string & description () const
 
void set_description (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:

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