#include <machine_manager.h>
◆ MachineManager()
◆ ~MachineManager()
| MachineManager::~MachineManager |
( |
| ) |
|
◆ setOnMonitoringAborted()
| void MachineManager::setOnMonitoringAborted |
( |
std::function< void()> | callback | ) |
|
Register a callback invoked whenever all monitoring is aborted.
Called on device power-cycle or disconnection, immediately after MonitorMachine::abort_all_client_requests(). The callback runs on the machine manager thread and must be thread-safe.
- Parameters
-
| callback | Callable to invoke on abort; pass an empty std::function to unregister. |
◆ start()
| void MachineManager::start |
( |
| ) |
|
◆ stop()
| void MachineManager::stop |
( |
| ) |
|
◆ wait()
| void MachineManager::wait |
( |
| ) |
|
Wait until the Machine Manager finishes execution.
The documentation for this class was generated from the following files: