$darkmode
cloe::actions::PushRelease Class Reference
Inheritance diagram for cloe::actions::PushRelease:
[legend]
Collaboration diagram for cloe::actions::PushRelease:
[legend]

Public Member Functions

 PushRelease (const std::string &name, Duration dur, ActionPtr &&push, ActionPtr &&release, const Json &repr)
 
ActionPtr clone () const override
 
void operator() (const Sync &, TriggerRegistrar &) override
 
- Public Member Functions inherited from cloe::Action
virtual bool is_significant () const
 
- 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)
 

Protected Member Functions

void to_json (Json &j) const override
 
- Protected Member Functions inherited from cloe::Action
Logger logger () const
 

Additional Inherited Members

- Protected Attributes inherited from cloe::Entity
std::string name_
 
std::string desc_
 

Member Function Documentation

◆ clone()

ActionPtr cloe::actions::PushRelease::clone ( ) const
inlineoverridevirtual

Clone this action with correct state information.

This happens when a sticky trigger evaluates to true.

Implements cloe::Action.

Here is the call graph for this function:

◆ operator()()

void cloe::actions::PushRelease::operator() ( const Sync ,
TriggerRegistrar  
)
overridevirtual

Execute the action.

Implements cloe::Action.

◆ to_json()

void cloe::actions::PushRelease::to_json ( Json &  j) const
inlineoverrideprotectedvirtual

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

Implements cloe::Action.


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