Waiting¶
The following functions allow to wait for a certain value of an item:
WaitForChange¶
-
static inline void Ensenso::sealed::WaitForChange(int result, String itemPath)¶
Wraps nxLibWaitForChange()
- Parameters
result – The error code of operation.
itemPath – The path of the item to access.
WaitForType¶
-
static inline void Ensenso::sealed::WaitForType(int result, String itemPath, int itemType, bool waitForEqual)¶
Wraps nxLibWaitForType.
- Parameters
result – The error code of operation.
itemPath – The path of the item to access.
itemType – Type of the item.
waitForEqual – When true, the function waits until the item has the specified type, otherwise it waits until the item has a different type than the one specified.
WaitForStringValue¶
-
static inline void Ensenso::sealed::WaitForStringValue(int result, String itemPath, String value, bool waitForEqual)¶
Wraps nxLibWaitForStringValue()
- Parameters
result – The error code of operation.
itemPath – The path of the item to access.
value – The value to wait for.
waitForEqual – When true, the function waits until the item has the specified type, otherwise it waits until the item has a different type than the one specified.
WaitForIntValue¶
-
static inline void Ensenso::sealed::WaitForIntValue(int result, String itemPath, int value, bool waitForEqual)¶
Wraps nxLibWaitForIntValue()
- Parameters
result – The error code of operation.
itemPath – The path of the item to access.
value – The value to wait for.
waitForEqual – When true, the function waits until the item has the specified type, otherwise it waits until the item has a different type than the one specified.
WaitForDoubleValue¶
-
static inline void Ensenso::sealed::WaitForDoubleValue(int result, String itemPath, double value, bool waitForEqual)¶
Wraps nxLibWaitForDoubleValue()
- Parameters
result – The error code of operation.
itemPath – The path of the item to access.
value – The value to wait for.
waitForEqual – When true, the function waits until the item has the specified type, otherwise it waits until the item has a different type than the one specified.
WaitForBoolValue¶
-
static inline void Ensenso::sealed::WaitForBoolValue(int result, String itemPath, bool value, bool waitForEqual)¶
Wraps nxLibWaitForBoolValue()
- Parameters
result – The error code of operation.
itemPath – The path of the item to access.
value – The value to wait for.
waitForEqual – When true, the function waits until the item has the specified type, otherwise it waits until the item has a different type than the one specified.