|
commore
1.0.6-SNAPSHOT
|
#include <ActionGroup.h>
Public Member Functions | |
| void | add (PAction action) |
| const commore::List< PAction > & | getActions () const |
| void | stop (Processor &processor, bool wait=true) |
| void | abort (Processor &processor, bool wait=true) |
| int | wait (Processor &processor, const int timeout_ms=0) |
| void | reset () |
| void | clear () |
Set of Action
| void commore::ActionGroup::add | ( | PAction | action | ) |
| void commore::ActionGroup::clear | ( | ) |
Empty the action group
| const commore::List<PAction>& commore::ActionGroup::getActions | ( | ) | const |
Action set accessor
| void commore::ActionGroup::reset | ( | ) |
Reset the to_stop status of all actions to false
| void commore::ActionGroup::stop | ( | Processor & | processor, |
| bool | wait = true |
||
| ) |
Set action stop and abort
| processor | where action is submitted |
| wait | until action stop running |
| int commore::ActionGroup::wait | ( | Processor & | processor, |
| const int | timeout_ms = 0 |
||
| ) |
Wait until all actions are completed
| processor | |
| timeout_ms | timeout in milliseconds |
change timeout type to TimePeriod
should return bool