TwiceAsNice
2019-02-18
|
#include <Barrier.h>
Public Types | |
typedef std::vector< Nice::CompletionState > | CompletionStateVector |
typedef std::vector< Nice::CompletionState > | CompletionStateVector |
Public Member Functions | |
Barrier () | |
Constructor. More... | |
void | addCommand (Nice::PropertyPtr _prop) |
Overloaded function of addCommand but with the ability to set two attributes to the property. More... | |
template<typename A > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a) |
Appends a new command (Nice::Property) of type Nice::Completion to the command list. More... | |
template<typename A , typename B > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b) |
Overloaded function of addCommand but with the ability to set two attributes to the property. More... | |
template<typename A , typename B , typename C > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c) |
Overloaded function of addCommand but with the ability to set three attributes to the property. More... | |
template<typename A , typename B , typename C , typename D > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d) |
Overloaded function of addCommand but with the ability to set four attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e) |
Overloaded function of addCommand but with the ability to set five attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E , typename F > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e, const std::string &_fs, F _f) |
Overloaded function of addCommand but with the ability to set six attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E , typename F , typename G > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e, const std::string &_fs, F _f, const std::string &_gs, G _g) |
Overloaded function of addCommand but with the ability to set seven attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E , typename F , typename G , typename H > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e, const std::string &_fs, F _f, const std::string &_gs, G _g, const std::string &_hs, H _h) |
Overloaded function of addCommand but with the ability to set eight attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E , typename F , typename G , typename H , typename I > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e, const std::string &_fs, F _f, const std::string &_gs, G _g, const std::string &_hs, H _h, const std::string &_is, I _i) |
Overloaded function of addCommand but with the ability to set nine attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E , typename F , typename G , typename H , typename I , typename J > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e, const std::string &_fs, F _f, const std::string &_gs, G _g, const std::string &_hs, H _h, const std::string &_is, I _i, const std::string &_js, J _j) |
Overloaded function of addCommand but with the ability to set ten attributes to the property. More... | |
template<typename T > | |
bool | setAttr (Nice::PropertyPtr _prop, const std::string &_name, T _t) |
Set an attribute to the property. More... | |
bool | setAttr (Nice::PropertyPtr _prop, const std::string &_name, const char *_t) |
Overloaded function of setAttr. More... | |
bool | exec (Nice::Time _timeout=Nice::Time::seconds(0.0), bool _abordOnTimeout=false) |
Executes all commands which have been added to the command list. More... | |
CompletionStateVector | finalCompletionStates () |
std::vector< short > | runningCommands () |
Get all running commands. More... | |
bool | abortCommand (short _cmd, Nice::Time _timeout=Nice::Time::seconds(0.0)) |
Abords a certain command. More... | |
void | clear () |
Function cleans up the exection to get ready for new commands to be added. More... | |
Barrier () | |
Constructor. More... | |
void | addCommand (Nice::PropertyPtr _prop) |
Overloaded function of addCommand but with the ability to set two attributes to the property. More... | |
template<typename A > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a) |
Appends a new command (Nice::Property) of type Nice::Completion to the command list. More... | |
template<typename A , typename B > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b) |
Overloaded function of addCommand but with the ability to set two attributes to the property. More... | |
template<typename A , typename B , typename C > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c) |
Overloaded function of addCommand but with the ability to set three attributes to the property. More... | |
template<typename A , typename B , typename C , typename D > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d) |
Overloaded function of addCommand but with the ability to set four attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e) |
Overloaded function of addCommand but with the ability to set five attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E , typename F > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e, const std::string &_fs, F _f) |
Overloaded function of addCommand but with the ability to set six attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E , typename F , typename G > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e, const std::string &_fs, F _f, const std::string &_gs, G _g) |
Overloaded function of addCommand but with the ability to set seven attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E , typename F , typename G , typename H > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e, const std::string &_fs, F _f, const std::string &_gs, G _g, const std::string &_hs, H _h) |
Overloaded function of addCommand but with the ability to set eight attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E , typename F , typename G , typename H , typename I > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e, const std::string &_fs, F _f, const std::string &_gs, G _g, const std::string &_hs, H _h, const std::string &_is, I _i) |
Overloaded function of addCommand but with the ability to set nine attributes to the property. More... | |
template<typename A , typename B , typename C , typename D , typename E , typename F , typename G , typename H , typename I , typename J > | |
void | addCommand (Nice::PropertyPtr _prop, const std::string &_as, A _a, const std::string &_bs, B _b, const std::string &_cs, C _c, const std::string &_ds, D _d, const std::string &_es, E _e, const std::string &_fs, F _f, const std::string &_gs, G _g, const std::string &_hs, H _h, const std::string &_is, I _i, const std::string &_js, J _j) |
Overloaded function of addCommand but with the ability to set ten attributes to the property. More... | |
template<typename T > | |
bool | setAttr (Nice::PropertyPtr _prop, const std::string &_name, T _t) |
Set an attribute to the property. More... | |
bool | setAttr (Nice::PropertyPtr _prop, const std::string &_name, const char *_t) |
Overloaded function of setAttr. More... | |
bool | exec (Nice::Time _timeout=Nice::Time::seconds(0.0), bool _abordOnTimeout=false) |
Executes all commands which have been added to the command list. More... | |
CompletionStateVector | finalCompletionStates () |
std::vector< short > | runningCommands () |
Get all running commands. More... | |
bool | abortCommand (short _cmd, Nice::Time _timeout=Nice::Time::seconds(0.0)) |
Abords a certain command. More... | |
void | clear () |
Function cleans up the exection to get ready for new commands to be added. More... | |
Private Types | |
typedef std::vector< Nice::SimpleBarrier * > | SimpleBarrierVector |
typedef std::vector< Nice::SimpleBarrier * > | SimpleBarrierVector |
Private Member Functions | |
bool | waitForCompletion (Nice::Time _timeout) |
Function waits for all commands to be finished. More... | |
bool | cleanup () |
Returns the current completion of all Commands. More... | |
bool | waitForCompletion (Nice::Time _timeout) |
Function waits for all commands to be finished. More... | |
bool | cleanup () |
Returns the current completion of all Commands. More... | |
Private Attributes | |
std::vector< Nice::PropertyPtr > | m_commands |
Nice::Mutex | m_mutex |
SimpleBarrierVector | barrier |
std::vector< Nice::Monitor::Lock * > | lock |
bool | m_timeout |
std::vector< Nice::PropertyBridgeMemFn< Nice::Completion, SimpleBarrier > *> | m_bridges |
CompletionStateVector | m_finalCompletionStates |
typedef std::vector<Nice::CompletionState> Nice::Barrier::CompletionStateVector |
typedef std::vector<Nice::CompletionState> Nice::Barrier::CompletionStateVector |
|
private |
|
private |
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Abords a certain command.
_cmd | Command to abord |
_timeout | Time to wait until aborded. |
|
inline |
Abords a certain command.
_cmd | Command to abord |
_timeout | Time to wait until aborded. |
|
inline |
Overloaded function of addCommand but with the ability to set two attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
|
inline |
Overloaded function of addCommand but with the ability to set two attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
|
inline |
Appends a new command (Nice::Property) of type Nice::Completion to the command list.
Additionally attributes may be set to the Property by passing a string which defines the attributes key and a value. The passed attributed is set to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
|
inline |
Appends a new command (Nice::Property) of type Nice::Completion to the command list.
Additionally attributes may be set to the Property by passing a string which defines the attributes key and a value. The passed attributed is set to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
|
inline |
Overloaded function of addCommand but with the ability to set two attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
|
inline |
Overloaded function of addCommand but with the ability to set two attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
|
inline |
Overloaded function of addCommand but with the ability to set three attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
|
inline |
Overloaded function of addCommand but with the ability to set three attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
|
inline |
Overloaded function of addCommand but with the ability to set four attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
|
inline |
Overloaded function of addCommand but with the ability to set four attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
|
inline |
Overloaded function of addCommand but with the ability to set five attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
|
inline |
Overloaded function of addCommand but with the ability to set five attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
|
inline |
Overloaded function of addCommand but with the ability to set six attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_fs | Key defines atrribute of _prop. |
_f | Value of attribute _fs. |
|
inline |
Overloaded function of addCommand but with the ability to set six attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_fs | Key defines atrribute of _prop. |
_f | Value of attribute _fs. |
|
inline |
Overloaded function of addCommand but with the ability to set seven attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_fs | Key defines atrribute of _prop. |
_f | Value of attribute _fs. |
_gs | Key defines atrribute of _prop. |
_g | Value of attribute _gs. |
|
inline |
Overloaded function of addCommand but with the ability to set seven attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_fs | Key defines atrribute of _prop. |
_f | Value of attribute _fs. |
_gs | Key defines atrribute of _prop. |
_g | Value of attribute _gs. |
|
inline |
Overloaded function of addCommand but with the ability to set eight attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_fs | Key defines atrribute of _prop. |
_f | Value of attribute _fs. |
_gs | Key defines atrribute of _prop. |
_g | Value of attribute _gs. |
_hs | Key defines atrribute of _prop. |
_h | Value of attribute _hs. |
|
inline |
Overloaded function of addCommand but with the ability to set eight attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_fs | Key defines atrribute of _prop. |
_f | Value of attribute _fs. |
_gs | Key defines atrribute of _prop. |
_g | Value of attribute _gs. |
_hs | Key defines atrribute of _prop. |
_h | Value of attribute _hs. |
|
inline |
Overloaded function of addCommand but with the ability to set nine attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_fs | Key defines atrribute of _prop. |
_f | Value of attribute _fs. |
_gs | Key defines atrribute of _prop. |
_g | Value of attribute _gs. |
_hs | Key defines atrribute of _prop. |
_h | Value of attribute _hs. |
_is | Key defines atrribute of _prop. |
_i | Value of attribute _is. |
|
inline |
Overloaded function of addCommand but with the ability to set nine attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_fs | Key defines atrribute of _prop. |
_f | Value of attribute _fs. |
_gs | Key defines atrribute of _prop. |
_g | Value of attribute _gs. |
_hs | Key defines atrribute of _prop. |
_h | Value of attribute _hs. |
_is | Key defines atrribute of _prop. |
_i | Value of attribute _is. |
|
inline |
Overloaded function of addCommand but with the ability to set ten attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_fs | Key defines atrribute of _prop. |
_f | Value of attribute _fs. |
_gs | Key defines atrribute of _prop. |
_g | Value of attribute _gs. |
_hs | Key defines atrribute of _prop. |
_h | Value of attribute _hs. |
_is | Key defines atrribute of _prop. |
_i | Value of attribute _is. |
_js | Key defines atrribute of _prop. |
_j | Value of attribute _js. |
|
inline |
Overloaded function of addCommand but with the ability to set ten attributes to the property.
_prop | Property of type Nice::Completion which defines a command to be added to the command list. |
_as | Key defines atrribute of _prop. |
_a | Value of attribute _as. |
_bs | Key defines atrribute of _prop. |
_b | Value of attribute _bs. |
_cs | Key defines atrribute of _prop. |
_c | Value of attribute _cs. |
_ds | Key defines atrribute of _prop. |
_d | Value of attribute _ds. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_es | Key defines atrribute of _prop. |
_e | Value of attribute _es. |
_fs | Key defines atrribute of _prop. |
_f | Value of attribute _fs. |
_gs | Key defines atrribute of _prop. |
_g | Value of attribute _gs. |
_hs | Key defines atrribute of _prop. |
_h | Value of attribute _hs. |
_is | Key defines atrribute of _prop. |
_i | Value of attribute _is. |
_js | Key defines atrribute of _prop. |
_j | Value of attribute _js. |
|
inlineprivate |
Returns the current completion of all Commands.
|
inlineprivate |
Returns the current completion of all Commands.
|
inline |
Function cleans up the exection to get ready for new commands to be added.
|
inline |
Function cleans up the exection to get ready for new commands to be added.
|
inline |
Executes all commands which have been added to the command list.
The function waits until all commands are finished and passes back the worst state of the executed commands.
_timeout | Maximum time to wait for all commands to be finished. |
_abordOnTimeout | Abords automatically all command if timeout occures. |
|
inline |
Executes all commands which have been added to the command list.
The function waits until all commands are finished and passes back the worst state of the executed commands.
_timeout | Maximum time to wait for all commands to be finished. |
_abordOnTimeout | Abords automatically all command if timeout occures. |
|
inline |
|
inline |
|
inline |
Get all running commands.
|
inline |
Get all running commands.
|
inline |
Set an attribute to the property.
If the attribute does not exist a new attribute is added.
_prop | Property to append attribute to. |
_name | Key of attribute. |
_t | Value of attribute. |
|
inline |
Set an attribute to the property.
If the attribute does not exist a new attribute is added.
_prop | Property to append attribute to. |
_name | Key of attribute. |
_t | Value of attribute. |
|
inline |
Overloaded function of setAttr.
Specialized for const char* attribute values.
_prop | Property to append attribute to. |
_name | Key of attribute. |
_t | Const char * value of attribute. |
|
inline |
Overloaded function of setAttr.
Specialized for const char* attribute values.
_prop | Property to append attribute to. |
_name | Key of attribute. |
_t | Const char * value of attribute. |
|
inlineprivate |
Function waits for all commands to be finished.
_timeout | Maximum time to wait for all commands to be finished. |
|
inlineprivate |
Function waits for all commands to be finished.
_timeout | Maximum time to wait for all commands to be finished. |
|
private |
Vector of all Nice::SimpleBarrier objects
|
private |
Vector of all Nice::Monitor::Lock
|
private |
|
private |
Vector of all Command Properties
|
private |
|
private |
Mutex
|
private |