rodbus (C++ API) 1.3.1
Loading...
Searching...
No Matches
rodbus::PortStateListener Class Referenceabstract

Callback interface for receiving updates about the state of a serial port. More...

#include <rodbus.hpp>

Inheritance diagram for rodbus::PortStateListener:
rodbus::functional::PortStateListenerLambda< T >

Public Member Functions

virtual void on_change (PortState state)=0
 Invoked when the serial port changes state. More...
 

Detailed Description

Callback interface for receiving updates about the state of a serial port.

Note
this class is an "interface" and only has virtual methods, some of which may have default implementations.

Member Function Documentation

◆ on_change()

virtual void rodbus::PortStateListener::on_change ( PortState  state)
pure virtual

Invoked when the serial port changes state.

Parameters
stateNew state of the port

Implemented in rodbus::functional::PortStateListenerLambda< T >.


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