summaryrefslogtreecommitdiffstats
path: root/types.hpp
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2017-03-09 12:34:35 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2017-03-15 16:14:58 +0530
commitbe703f71a3048c72ed567c397cd7caaf5f3d1bcf (patch)
tree407801458f8f36a03353564934ece9da909caa42 /types.hpp
parent28c2e7350a7d22a8314598101085b04f2b1ba274 (diff)
downloadphosphor-host-ipmid-be703f71a3048c72ed567c397cd7caaf5f3d1bcf.tar.gz
phosphor-host-ipmid-be703f71a3048c72ed567c397cd7caaf5f3d1bcf.zip
Modify set sensor reading command
The Set Sensor handling code is modified to use generated code for CPU, Core & DIMM sensors with Presence & Functional offset. Change-Id: I3b7fa4da870b745873da4732d457d793f5549ada Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'types.hpp')
-rw-r--r--types.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/types.hpp b/types.hpp
index d8a1386..555dce3 100644
--- a/types.hpp
+++ b/types.hpp
@@ -44,5 +44,12 @@ struct Info
using Id = uint8_t;
using IdInfoMap = std::map<Id,Info>;
+using PropertyMap = std::map<DbusProperty, Value>;
+
+using InterfaceMap = std::map<DbusInterface, PropertyMap>;
+
+using Object = sdbusplus::message::object_path;
+using ObjectMap = std::map<Object, InterfaceMap>;
+
}//namespce sensor
}//namespace ipmi
OpenPOWER on IntegriCloud