$darkmode
cloe::events::Evaluate Class Reference
Inheritance diagram for cloe::events::Evaluate:
[legend]
Collaboration diagram for cloe::events::Evaluate:
[legend]

Public Member Functions

 Evaluate (const std::string &name, const std::string &repr, std::function< bool(double)> f)
 
EventPtr clone () const override
 
bool operator() (const Sync &, double d)
 
void to_json (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()

EventPtr cloe::events::Evaluate::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 cloe::events::Evaluate::to_json ( Json &  ) const
overridevirtual

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 files: