Public Member Functions | List of all members
psen_scan_v2_standalone::protocol_layer::IWatchdogFactory Class Referenceabstract

Interface to create event timeout callbacks. More...

#include <scanner_state_machine.h>

Inheritance diagram for psen_scan_v2_standalone::protocol_layer::IWatchdogFactory:
Inheritance graph
[legend]

Public Member Functions

virtual std::unique_ptr< util::Watchdogcreate (const util::Watchdog::Timeout &timeout, const TimeoutCallback &timeout_callback)=0
 
virtual ~IWatchdogFactory ()=default
 

Detailed Description

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.

See also
util::Watchdog

Definition at line 100 of file scanner_state_machine.h.

Constructor & Destructor Documentation

◆ ~IWatchdogFactory()

virtual psen_scan_v2_standalone::protocol_layer::IWatchdogFactory::~IWatchdogFactory ( )
virtualdefault

Member Function Documentation

◆ create()

virtual std::unique_ptr<util::Watchdog> psen_scan_v2_standalone::protocol_layer::IWatchdogFactory::create ( const util::Watchdog::Timeout timeout,
const TimeoutCallback timeout_callback 
)
pure virtual

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


psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Nov 5 2022 02:13:36