Interface to create event timeout callbacks. More...
#include <scanner_state_machine.h>
Public Member Functions | |
virtual std::unique_ptr< util::Watchdog > | create (const util::Watchdog::Timeout &timeout, const TimeoutCallback &timeout_callback)=0 |
virtual | ~IWatchdogFactory ()=default |
Interface to create event timeout callbacks.
Implementations of this Interface should create thread save timeout callbacks that call an event every time a defined timeout has run out and restart themselves until deleted.
Definition at line 100 of file scanner_state_machine.h.
|
virtualdefault |
|
pure virtual |
Implemented in psen_scan_v2_standalone::protocol_layer::WatchdogFactory.