rad 6.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TrsHealthAction Class Reference
Inheritance diagram for TrsHealthAction:
scxml4cpp::Action

Public Member Functions

 TrsHealthAction ()
 
void execute (scxml4cpp::Context *c)
 
bool evaluate (scxml4cpp::Context *c)
 
int GetCounter ()
 
- Public Member Functions inherited from scxml4cpp::Action
 Action (const std::string &id)
 
virtual ~Action ()
 
std::string getId () const
 
std::string getParam () const
 
void setId (const std::string &id)
 
void setParam (const std::string &p)
 

Constructor & Destructor Documentation

◆ TrsHealthAction()

TrsHealthAction::TrsHealthAction ( )
inline

Member Function Documentation

◆ evaluate()

bool TrsHealthAction::evaluate ( scxml4cpp::Context * c)
inlinevirtual

Evaluate a guard condition usually verified before taking a transition. The evaluation is blocking the State Machine interpreter and therefore should be short (ideally it should last 0 time).

Parameters
cContext for the execution of the action.
Returns
true If the guard is satisfied, false otherwise.

Implements scxml4cpp::Action.

◆ execute()

void TrsHealthAction::execute ( scxml4cpp::Context * c)
inlinevirtual

Execute the task associated to the action. The execution is blocking the State Machine interpreter and therefore should be short (ideally it should last 0 time).

Parameters
cContext for the execution of the action.

Implements scxml4cpp::Action.

◆ GetCounter()

int TrsHealthAction::GetCounter ( )
inline

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