diff options
author | Tim Trampedach <tim@timtt.com> | 2012-10-13 15:41:21 -0700 |
---|---|---|
committer | Kevron Rees <kevron_m_rees@linux.intel.com> | 2012-10-26 16:34:47 -0700 |
commit | 3f4fbf1af7d31e24d503d51c31a22e76d5bd8e65 (patch) | |
tree | b6f396b594d456f58a37b9533f499b400d5a7a85 | |
parent | 02362e92bc83126934d4bd6c0215d1548d2011ca (diff) | |
download | automotive-message-broker-3f4fbf1af7d31e24d503d51c31a22e76d5bd8e65.tar.gz |
tire temperature values added
-rw-r--r-- | plugins/dbus/properties.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/plugins/dbus/properties.h b/plugins/dbus/properties.h index c0079877..de13977c 100644 --- a/plugins/dbus/properties.h +++ b/plugins/dbus/properties.h @@ -104,6 +104,21 @@ public: } }; +class TireTemperatureProperty: public DBusSink +{ +public: + TireTemperatureProperty(AbstractRoutingEngine* re, GDBusConnection* connection) + :DBusSink("org.automotive.tireTemperature","/org/automotive/maintainance/tireTemperature", re, connection, map<string, string>()) + { + wantProperty<uint16_t>(VehicleProperty::TireTemperatureLeftFront,"LeftFront", "i", AbstractProperty::Read); + wantProperty<uint16_t>(VehicleProperty::TireTemperatureRightFront,"RightFront", "i", AbstractProperty::Read); + wantProperty<uint16_t>(VehicleProperty::TireTemperatureLeftRear,"LeftRear", "i", AbstractProperty::Read); + wantProperty<uint16_t>(VehicleProperty::TireTemperatureRightRear,"RightRear", "i", AbstractProperty::Read); + supportedChanged(re->supported()); + } +}; + + class CruiseControlProperty: public DBusSink { public: @@ -126,7 +141,6 @@ public: supportedChanged(re->supported()); } }; - class LightStatusProperty: public DBusSink { public: |