IoT::Devices

class BooleanDatapointEventDispatcher

File Information

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

Description

The base class for datapoints holding a boolean value.

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

BooleanDatapointEventDispatcher

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

Destructor

~BooleanDatapointEventDispatcher virtual

virtual ~BooleanDatapointEventDispatcher();

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 bool & data
);

event__valueChanged

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

event__valueUpdated

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

remoting__typeId virtual inline

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

Securely control IoT edge devices from anywhere   Connect a Device