$darkmode
cloe::actions::WallClockDelayFactory Class Reference
Inheritance diagram for cloe::actions::WallClockDelayFactory:
Collaboration diagram for cloe::actions::WallClockDelayFactory:

Public Types

using ActionType = WallClockDelay
 
using ActionType = WallClockDelay
 

Public Member Functions

 WallClockDelayFactory (std::string name, std::string desc, std::function< bool(const Sync &)> func)
 
TriggerSchema schema () const override
 
ActionPtr make (const Conf &c) const override
 
ActionPtr make (const std::string &s) const override
 
 WallClockDelayFactory (std::string name, std::string desc, std::function< bool(const Sync &)> func)
 
TriggerSchema schema () const override
 
ActionPtr make (const Conf &c) const override
 
ActionPtr make (const std::string &s) const override
 
- Public Member Functions inherited from cloe::TriggerFactory< T >
virtual fable::Json json_schema () const
 
 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::Entity
virtual Logger logger () const
 
- Protected Attributes inherited from cloe::Entity
std::string name_
 
std::string desc_
 

Member Function Documentation

◆ make() [1/4]

ActionPtr cloe::actions::WallClockDelayFactory::make ( const Conf c) const
inlineoverridevirtual

Create a new T based on the content of the input Conf.

Implements cloe::TriggerFactory< T >.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make() [2/4]

ActionPtr cloe::actions::WallClockDelayFactory::make ( const Conf c) const
inlineoverridevirtual

Create a new T based on the content of the input Conf.

Implements cloe::TriggerFactory< T >.

Here is the call graph for this function:

◆ make() [3/4]

ActionPtr cloe::actions::WallClockDelayFactory::make ( const std::string &  s) const
inlineoverridevirtual

Create a new T based on the content of the input string.

The default implementation tries to make an instance with an empty JSON object, which only works for actions and events that require no input.

It is strongly recommended to implement this method by creating a Conf object and passing that to the make(const Conf&) method. This allows users to draw a strong parallel from string representation to JSON representation.

Reimplemented from cloe::TriggerFactory< T >.

Here is the call graph for this function:

◆ make() [4/4]

ActionPtr cloe::actions::WallClockDelayFactory::make ( const std::string &  s) const
inlineoverridevirtual

Create a new T based on the content of the input string.

The default implementation tries to make an instance with an empty JSON object, which only works for actions and events that require no input.

It is strongly recommended to implement this method by creating a Conf object and passing that to the make(const Conf&) method. This allows users to draw a strong parallel from string representation to JSON representation.

Reimplemented from cloe::TriggerFactory< T >.

Here is the call graph for this function:

◆ schema() [1/2]

TriggerSchema cloe::actions::WallClockDelayFactory::schema ( ) const
inlineoverridevirtual

Return factory schema.

This can be used to check input automatically or to derive help text for all trigger events and actions dynamically.

Reimplemented from cloe::TriggerFactory< T >.

Here is the call graph for this function:

◆ schema() [2/2]

TriggerSchema cloe::actions::WallClockDelayFactory::schema ( ) const
inlineoverridevirtual

Return factory schema.

This can be used to check input automatically or to derive help text for all trigger events and actions dynamically.

Reimplemented from cloe::TriggerFactory< T >.

Here is the call graph for this function:

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