IoT::Devices

class EnumDatapointEventDispatcher

File Information

Library: IoT/Devices
Package: Generated
Header: IoT/Devices/EnumDatapointEventDispatcher.h

Description

The base class for datapoints holding an enumeration value (based on an int).

An implementation should handle conversion between an integer value and the corresponding symbolic name.

In addition to the methods defined in this interface, a EnumDatapoint implementation should expose the following properties:

  • displayValue (string, optional): The current value of the datapoint, formatted as string for display purposes.

Inheritance

Direct Base Classes: Poco::RemotingNG::EventDispatcher

All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::EventDispatcher

Member Summary

Member Functions: event__invalidated, event__statusChanged, event__validated, event__valueChanged, event__valueUpdated, remoting__typeId

Inherited Functions: accept, attributes, duplicate, protocol, referenceCount, release, removeEventFilter, setEventFilter, setEventFilterImpl, subscribe, transportForSubscriber, unsubscribe

Constructors

EnumDatapointEventDispatcher

EnumDatapointEventDispatcher(
    IEnumDatapoint * pInterface,
    const Poco::RemotingNG::Identifiable::ObjectId & objectId,
    const std::string & protocol
);

Destructor

~EnumDatapointEventDispatcher virtual

virtual ~EnumDatapointEventDispatcher();

Member Functions

event__invalidated

void event__invalidated(
    const void * pSender
);

event__statusChanged

void event__statusChanged(
    const void * pSender,
    const IoT::Devices::DeviceStatusChange & data
);

event__validated

void event__validated(
    const void * pSender,
    const int & data
);

event__valueChanged

void event__valueChanged(
    const void * pSender,
    const int & data
);

event__valueUpdated

void event__valueUpdated(
    const void * pSender,
    const int & data
);

remoting__typeId virtual inline

virtual const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId() const;

Securely control IoT edge devices from anywhere   Connect a Device