|
RTOS Wrapper
API reference
|
Abstract base class for long running worker threads. More...
#include <memory>#include <atomic>#include "OsAbstraction.h"#include "OsUtility.h"#include "SignalSemaphore.h"Go to the source code of this file.
Classes | |
| class | BaseThread |
| Abstract class to assist in designing thread-based execution sequences. More... | |
Abstract base class for long running worker threads.
The BaseThread class provides a foundation for implementing service or clinical threads. Each thread runs continuously between calls to Start() and Stop(), executing a setup routine once and then repeatedly calling Step() until a stop is requested. Derived classes implement the virtual Setup, Step and Exit hooks to provide their behavior.