JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::PhysicalTopologySource::DeviceConnection Struct Referenceabstract

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

#include <juce_PhysicalTopologySource.h>

Collaboration diagram for juce::PhysicalTopologySource::DeviceConnection:

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()

juce::PhysicalTopologySource::DeviceConnection::DeviceConnection ( )

◆ ~DeviceConnection()

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

Member Function Documentation

◆ sendMessageToDevice()

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

Member Data Documentation

◆ handleMessageFromDevice

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

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