$darkmode
cloe::utility::UseContact< D > Class Template Reference
Inheritance diagram for cloe::utility::UseContact< D >:
Collaboration diagram for cloe::utility::UseContact< D >:

Public Member Functions

 UseContact (const std::string &name, ContactMap< D > *m, const Conf &data)
 
ActionPtr clone () const override
 
void operator() (const Sync &, TriggerRegistrar &) override
 
- Public Member Functions inherited from cloe::Action
virtual bool is_significant () const
 
virtual void to_json (fable::Json &j) 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)
 

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()

template<typename D = Duration>
ActionPtr cloe::utility::UseContact< D >::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()()

template<typename D = Duration>
void cloe::utility::UseContact< D >::operator() ( const Sync ,
TriggerRegistrar  
)
inlineoverridevirtual

Execute the action.

Implements cloe::Action.


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