OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — legacy C++ API referencev12.0

These are the pre-v12 classes, kept so existing code keeps building. New code should use the modern API — see Migration Guide: v11 to v12.

optris::EnumerationClient

Base class for all clients observing the EnumerationManager.

Public functions

EnumerationClient

EnumerationClient()=default

Constructor.

EnumerationClient

EnumerationClient(const EnumerationClient &)=default

No copy constructor.

operator=

EnumerationClient & operator=(const EnumerationClient &)=default

No copy assignment.

EnumerationClient

EnumerationClient(EnumerationClient &&)=default

Move constructor.

operator=

EnumerationClient & operator=(EnumerationClient &&)=default

Move assignment.

~EnumerationClient

~EnumerationClient()=default

Destructor.

onDeviceDetected

void onDeviceDetected(DeviceInfo deviceInfo) noexcept

Parameters

Name Description
deviceInfo information of the device.

onDeviceDetectionLost

void onDeviceDetectionLost(DeviceInfo deviceInfo) noexcept

Parameters

Name Description
deviceInfo information of the device.

onDeviceDetectionChanged

void onDeviceDetectionChanged(DeviceInfo deviceInfo) noexcept

Parameters

Name Description
deviceInfo information of the device.