6 #include <Poco/SharedPtr.h>
8 #include "model/DeviceID.h"
9 #include "model/DevicePrefix.h"
10 #include "model/ModuleID.h"
21 typedef Poco::SharedPtr<DeviceStatusHandler> Ptr;
22 typedef std::map<DeviceID, std::map<ModuleID, double>> DeviceValues;
42 const std::set<DeviceID> &paired,
43 const DeviceValues &values) = 0;
DeviceStatusHandler represents a class that can process status of a set of devices. This is useful when fetching pairing state from a remote server.
Definition: DeviceStatusHandler.h:19
virtual void handleRemoteStatus(const DevicePrefix &prefix, const std::set< DeviceID > &paired, const DeviceValues &values)=0
Handle device status as understood by a remote server. All devices of a certain prefix are notified i...
virtual DevicePrefix prefix() const =0