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

Public Member Functions

 WallClockDelay (const std::string &name, cloe::Duration sleep_for, std::function< bool(const Sync &)> func)
 
ActionPtr clone () const override
 
CallbackResult operator() (const Sync &sync, TriggerRegistrar &) override
 
bool is_significant () const override
 
 WallClockDelay (const std::string &name, cloe::Duration sleep_for, std::function< bool(const Sync &)> func)
 
ActionPtr clone () const override
 
CallbackResult operator() (const Sync &sync, TriggerRegistrar &) override
 
bool is_significant () const override
 
- Public Member Functions inherited from cloe::Action
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
 
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() [1/2]

ActionPtr cloe::actions::WallClockDelay::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:

◆ clone() [2/2]

ActionPtr cloe::actions::WallClockDelay::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:

◆ is_significant() [1/2]

bool cloe::actions::WallClockDelay::is_significant ( ) const
inlineoverridevirtual

Return whether this action is a significant action.

All actions that have an effect on the result of a simulation are significant. Actions that are not significant are:

realtime_factor log

Insignificant actions are concealable, which removes them from the trigger history. This must be explicitly specified when inserting a trigger.

Reimplemented from cloe::Action.

◆ is_significant() [2/2]

bool cloe::actions::WallClockDelay::is_significant ( ) const
inlineoverridevirtual

Return whether this action is a significant action.

All actions that have an effect on the result of a simulation are significant. Actions that are not significant are:

realtime_factor log

Insignificant actions are concealable, which removes them from the trigger history. This must be explicitly specified when inserting a trigger.

Reimplemented from cloe::Action.

◆ operator()() [1/2]

CallbackResult cloe::actions::WallClockDelay::operator() ( const Sync ,
TriggerRegistrar  
)
inlineoverridevirtual

Execute the action.

Implements cloe::Action.

◆ operator()() [2/2]

CallbackResult cloe::actions::WallClockDelay::operator() ( const Sync ,
TriggerRegistrar  
)
inlineoverridevirtual

Execute the action.

Implements cloe::Action.


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