gbxiceutilacfr Namespace Reference
Utility namespace (part of SICK-ACFR driver).
More...
Detailed Description
Utility namespace (part of SICK-ACFR driver).
Compiles into a library libGbxIceUtilAcfr
Enumeration Type Documentation
Buffer type defines behavior when the buffer is full
- Enumerator:
BufferTypeCircular |
When the maximum depth of the buffer is reached, removes the oldest entry to make room for the new data.
|
BufferTypeQueue |
When the maximum depth of the buffer is reached, ignores new incoming data, until the oldest entry is popped to make room.
|
Function Documentation
void gbxiceutilacfr::checkedSleep |
( |
gbxutilacfr::Stoppable * |
activity, |
|
|
const IceUtil::Time & |
duration, |
|
|
int |
checkIntervalMs = 250 | |
|
) |
| | |
Sleeps for duration waking up every checkIntervalMs [ms] to check if the activity
was told to stop. This implementation is very simple so the error in total sleep duration can be as large as checkIntervalMs. In particular, if duration is shorter than checkIntervalMs, this function will sleep for checkIntervalMs.
Stops the thread
but doesn't wait for it to terminate. If the smart pointer is 0, this function quietly returns.
References stop().
Stops the thread
but doesn't wait for it to terminate. If the smart pointer is 0, this function quietly returns.
Referenced by stop().
A convenience function which first stops the thread
and then waits for it to terminate. If the smart pointer is 0, this function quietly returns.
References stopAndJoin().
A convenience function which first stops the thread
and then waits for it to terminate. If the pointer is NULL, this function quietly returns.
Referenced by stopAndJoin().