#include <ActionGroup.h>
void ActionGroup::abort |
( |
Processor & |
processor, |
|
|
bool |
wait = true |
|
) |
| |
void ActionGroup::add |
( |
PAction |
action | ) |
|
Add an action to the set
- Parameters
-
- Todo:
- void add(const PAction& action);
void ActionGroup::clear |
( |
| ) |
|
void ActionGroup::reset |
( |
| ) |
|
Reset the to_stop status of all actions to false
void ActionGroup::stop |
( |
Processor & |
processor, |
|
|
bool |
wait = true |
|
) |
| |
Set action stop and abort
- Parameters
-
processor | where action is submitted |
wait | until action stop running |
- Todo:
- rename to set_to_stop and set_to_abort
int ActionGroup::wait |
( |
Processor & |
processor, |
|
|
const int |
timeout_ms = 0 |
|
) |
| |
Wait until all actions are completed
- Parameters
-
processor | |
timeout_ms | timeout in milliseconds |
- Returns
- 0 if a timeout occured != 0 if all the action are stopped
- Todo:
change timeout type to TimePeriod
should return bool
The documentation for this class was generated from the following files: