File Information
Library: IoT/Devices
Package: Generated
Header: IoT/Devices/FlagsDatapointEventDispatcher.h
Description
The base class for datapoints holding a variable number of flag bits, internally stored as a std::vector<bool>.
An implementation should handle conversion between a flag bit and the corresponding symbolic name of a flag.
In addition to the methods defined in this interface, a FlagsDatapoint 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
FlagsDatapointEventDispatcher
FlagsDatapointEventDispatcher(
IFlagsDatapoint * pInterface,
const Poco::RemotingNG::Identifiable::ObjectId & objectId,
const std::string & protocol
);
Creates a FlagsDatapointEventDispatcher.
Destructor
~FlagsDatapointEventDispatcher
virtual ~FlagsDatapointEventDispatcher();
Destroys the FlagsDatapointEventDispatcher.
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::vector < bool > & data
);
event__valueChanged
void event__valueChanged(
const void * pSender,
const std::vector < bool > & data
);
event__valueUpdated
void event__valueUpdated(
const void * pSender,
const std::vector < bool > & data
);
remoting__typeId
virtual const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId() const;