IoT::Devices

class StringDatapointEventDispatcher

File Information

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

Description

The base class for datapoints holding a string value.

In addition to the methods defined in this interface, a StringDatapoint 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

StringDatapointEventDispatcher

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

Destructor

~StringDatapointEventDispatcher virtual

virtual ~StringDatapointEventDispatcher();

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 std::string & data
);

event__valueChanged

void event__valueChanged(
    const void * pSender,
    const std::string & data
);

event__valueUpdated

void event__valueUpdated(
    const void * pSender,
    const std::string & data
);

remoting__typeId virtual inline

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

Securely control IoT edge devices from anywhere   Connect a Device