PhysicalTopologySource::DeviceConnection Struct Referenceabstract

For custom transport systems, this represents a connected device. More...

Public Member Functions

 DeviceConnection ()
 
virtual ~DeviceConnection ()
 
virtual bool sendMessageToDevice (const void *data, size_t dataSize)=0
 

Public Attributes

std::function< void(const void *data, size_t dataSize)> handleMessageFromDevice
 

Detailed Description

For custom transport systems, this represents a connected device.

Constructor & Destructor Documentation

◆ DeviceConnection()

PhysicalTopologySource::DeviceConnection::DeviceConnection ( )

◆ ~DeviceConnection()

virtual PhysicalTopologySource::DeviceConnection::~DeviceConnection ( )
virtual

Member Function Documentation

◆ sendMessageToDevice()

virtual bool PhysicalTopologySource::DeviceConnection::sendMessageToDevice ( const void *  data,
size_t  dataSize 
)
pure virtual

Member Data Documentation

◆ handleMessageFromDevice

std::function<void (const void* data, size_t dataSize)> PhysicalTopologySource::DeviceConnection::handleMessageFromDevice

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