File Information
Library: IoT/Devices
Package: Generated
Header: IoT/Devices/CompositeEventDispatcher.h
Description
A composite device consists of one or more sub devices or device fragments.
Composites are used to build hierarchies of devices, also known as device trees. This is intended to represent the hierarchical structure of a more complex device.
For example, for an electric vehicle, the (simplified) device tree may look like:
/ (root) Battery/ Voltage Temperature ChargeLevel Motor/ Switch PowerUsage RPM Temperature ... ...
The DeviceTree class can be used to conveniently find a device in the tree.
Inheritance
Direct Base Classes: Poco::RemotingNG::EventDispatcher
All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::EventDispatcher
Member Summary
Member Functions: event__statusChanged, remoting__typeId
Inherited Functions: accept, attributes, duplicate, protocol, referenceCount, release, removeEventFilter, setEventFilter, setEventFilterImpl, subscribe, transportForSubscriber, unsubscribe
Constructors
CompositeEventDispatcher
CompositeEventDispatcher(
IComposite * pInterface,
const Poco::RemotingNG::Identifiable::ObjectId & objectId,
const std::string & protocol
);
Creates a CompositeEventDispatcher.
Destructor
~CompositeEventDispatcher
virtual ~CompositeEventDispatcher();
Destroys the CompositeEventDispatcher.
Member Functions
event__statusChanged
void event__statusChanged(
const void * pSender,
const IoT::Devices::DeviceStatusChange & data
);
remoting__typeId
virtual const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId() const;