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::AlarmChannel

Interface representing an alarm channel.

Public types

ConstShared

std::shared_ptr< const AlarmChannel > ConstShared

Shared pointer type for alarm channels.

Public functions

AlarmChannel

AlarmChannel()=default

Constructor.

AlarmChannel

AlarmChannel(const AlarmChannel &)=delete

No copy constructor.

operator=

AlarmChannel & operator=(const AlarmChannel &)=delete

No copy assignment.

AlarmChannel

AlarmChannel(AlarmChannel &&)=delete

No move constructor.

operator=

AlarmChannel & operator=(AlarmChannel &&)=delete

No move assignment.

~AlarmChannel

~AlarmChannel()=default

Destructor.

getId

std::int32_t getId() const noexcept=0

Returns the unique ID identifying the alarm channel.

Returns: unique ID identifying the alarm channel.

getName

const std::string & getName() const noexcept=0

Returns the name of the alarm channel.

Returns: name of the alarm channel.

getConfig

const AlarmChannelConfig & getConfig() const noexcept=0

Returns the configuration of the alarm channel.

Returns: configuration of the alarm channel.