armarx::TaskStatus Namespace Reference

Functions

bool finishedRunning (Status status)
 Returns whether the given task status describes a state where planning is done (may be failed). More...
 
bool isRunning (Status status)
 Returns whether the given task status describes a state where a path is planned. More...
 
std::string toString (Status status)
 Returns the given task status as a string. More...
 
Status transitionAtDone (Status status)
 Performs a transition from the given to the appropiate following status in case the task is done. More...
 
Status transitionAtKill (Status status)
 Performs a transition from the given to the appropiate following status in case of a task kill. More...
 
Status transitionAtOutoftime (Status status)
 Performs a transition from the given to the appropiate following status in case of the task failing. More...
 

Function Documentation

◆ finishedRunning()

bool finishedRunning ( Status  status)

Returns whether the given task status describes a state where planning is done (may be failed).

Parameters
statusThe status to check.
Returns
Whether the given task status describes a state where planning is done (may be failed)

Definition at line 94 of file PlanningUtil.cpp.

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

◆ isRunning()

bool isRunning ( Status  status)

Returns whether the given task status describes a state where a path is planned.

Parameters
statusThe status to check.
Returns
Whether the given task status describes a state where a path is planned.

Definition at line 67 of file PlanningUtil.cpp.

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

◆ toString()

std::string toString ( Status  status)

Returns the given task status as a string.

Parameters
statusThe status to return as a string.
Returns
The given task status as a string.

Definition at line 30 of file PlanningUtil.cpp.

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

◆ transitionAtDone()

Status transitionAtDone ( Status  status)

Performs a transition from the given to the appropiate following status in case the task is done.

Parameters
statusThe source status for the transition.
Returns
Returns the following status.

Definition at line 178 of file PlanningUtil.cpp.

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

◆ transitionAtKill()

Status transitionAtKill ( Status  status)

Performs a transition from the given to the appropiate following status in case of a task kill.

Parameters
statusThe source status for the transition.
Returns
Returns the following status.

Definition at line 122 of file PlanningUtil.cpp.

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

◆ transitionAtOutoftime()

Status transitionAtOutoftime ( Status  status)

Performs a transition from the given to the appropiate following status in case of the task failing.

Parameters
statusThe source status for the transition.
Returns
Returns the following status.

Definition at line 150 of file PlanningUtil.cpp.

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