File Information
Library: IoT/Devices
Package: Generated
Header: IoT/Devices/CounterDatapointEventDispatcher.h
Description
The base class for datapoints holding a counter (a 64-bit unsigned integer).
In addition to the methods defined in this interface, a CounterDatapoint 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, remoting__typeId
Inherited Functions: accept, attributes, duplicate, protocol, referenceCount, release, removeEventFilter, setEventFilter, setEventFilterImpl, subscribe, transportForSubscriber, unsubscribe
Constructors
CounterDatapointEventDispatcher
CounterDatapointEventDispatcher(
ICounterDatapoint * pInterface,
const Poco::RemotingNG::Identifiable::ObjectId & objectId,
const std::string & protocol
);
Creates a CounterDatapointEventDispatcher.
Destructor
~CounterDatapointEventDispatcher
virtual ~CounterDatapointEventDispatcher();
Destroys the CounterDatapointEventDispatcher.
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 Poco::Int64 & data
);
event__valueChanged
void event__valueChanged(
const void * pSender,
const Poco::Int64 & data
);
remoting__typeId
virtual const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId() const;