6 #include <Poco/SharedPtr.h>
7 #include <Poco/JSON/Array.h>
8 #include <Poco/JSON/Object.h>
10 #include "gwmessage/GWResponse.h"
11 #include "model/DeviceID.h"
12 #include "model/ModuleID.h"
13 #include "model/RefreshTime.h"
14 #include "util/Loggable.h"
55 typedef Poco::SharedPtr<GWDeviceListResponse> Ptr;
60 void setDevices(
const std::vector<DeviceID> &
devices);
65 std::vector<DeviceID>
devices()
const;
67 void setModulesValues(
69 const std::map<ModuleID, double> &values);
81 const std::map<std::string, std::string> &properties);
82 std::map<std::string, std::string> properties(
RefreshTime represents time of refreshing values from sensors. E.g. sensors are polled periodically o...
Definition: RefreshTime.h:24
Represents a message sent byt the server to the gateway as a response to the GWDeviceListRequest.
Definition: GWDeviceListResponse.h:53
Definition: Loggable.h:19
std::map< ModuleID, double > modulesValues(const DeviceID &device) const
Definition: GWDeviceListResponse.cpp:68
Represents a response to a request message (subclass of a GWRequest). The GWResponse can be used alon...
Definition: GWResponse.h:55
Definition: DeviceID.h:17
std::vector< DeviceID > devices() const
Definition: GWDeviceListResponse.cpp:32