High-level wrapper around the NeoAPI camera for synchronized access.
Class that offers an easy way to run a background monitorin thread that periodically inspects and rep...
void start()
Starts the monitoring thread. If the monitor is already running, this call has no effect.
~StatusMonitor()
Destructor stops the monitoring thread if running.
virtual void runMonitor() const
The main monitoring loop executed on the background thread.
void stop()
Stops the monitoring thread and waits for it to finish. If the monitor is not running,...
std::thread m_monitorThread
Thread running the periodic monitoring loop.
std::atomic< bool > m_hasStartedMonitor
Flag indicating if the monitor thread has been started.
const irsol::camera::Interface & m_cam
Reference to the camera interface being monitored.
irsol::types::duration_t m_monitorInterval
Interval at which the monitor thread executes runMonitor()
High-level wrapper around NeoAPI camera control for the irsol library.
clock_t::duration duration_t
Alias for a duration of time as defined by clock_t.
Core type definitions for networking, time handling, and protocol values used throughout the irsol li...