6 #include <Poco/Mutex.h>
7 #include <Poco/Nullable.h>
9 #include "core/Answer.h"
10 #include "core/Result.h"
11 #include "model/DeviceID.h"
12 #include "model/ModuleID.h"
22 typedef Poco::AutoPtr<ServerDeviceListResult> Ptr;
23 typedef std::map<ModuleID, double> ModuleValues;
24 typedef std::map<DeviceID, ModuleValues> DeviceValues;
28 void setDevices(
const DeviceValues &values);
29 DeviceValues devices()
const;
31 void setDeviceList(
const std::vector<DeviceID> &deviceList);
32 std::vector<DeviceID> deviceList()
const;
34 Poco::Nullable<double> value(
const DeviceID &
id,
const ModuleID &module)
const;
Definition: ServerDeviceListResult.h:20
Definition: ModuleID.h:12
Definition: DeviceID.h:17