RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
rtctk::rtcSupervisor::RtcMonitor Class Reference

#include <rtcMonitor.hpp>

Public Types

using MonitorFunction = std::function<void()>
 

Public Member Functions

 RtcMonitor (MonitorFunction func)
 
virtual ~RtcMonitor ()
 
void Run ()
 start monitoring
 
void Idle ()
 stop monitoring
 
boost::asio::io_context & GetIoContext ()
 Get the I/O context object to be able to use this thread with boost::asio.
 

Member Typedef Documentation

◆ MonitorFunction

Constructor & Destructor Documentation

◆ RtcMonitor()

rtctk::rtcSupervisor::RtcMonitor::RtcMonitor ( MonitorFunction func)
explicit

◆ ~RtcMonitor()

rtctk::rtcSupervisor::RtcMonitor::~RtcMonitor ( )
virtual

Member Function Documentation

◆ GetIoContext()

boost::asio::io_context & rtctk::rtcSupervisor::RtcMonitor::GetIoContext ( )
inline

Get the I/O context object to be able to use this thread with boost::asio.

Returns
The boost::asio::io_context object associated with the monitor thread.

◆ Idle()

void rtctk::rtcSupervisor::RtcMonitor::Idle ( )

stop monitoring

◆ Run()

void rtctk::rtcSupervisor::RtcMonitor::Run ( )

start monitoring


The documentation for this class was generated from the following files: