diff options
author | Kevron Rees <kevron.m.rees@intel.com> | 2014-12-15 17:38:34 -0800 |
---|---|---|
committer | Kevron Rees <kevron.m.rees@intel.com> | 2014-12-15 17:38:34 -0800 |
commit | e9e8281a67c5e2488db581abfc5e1972a9da0c72 (patch) | |
tree | ac2f29ac44bbcab4e04375b6db09c21fdfee720a | |
parent | 099ba04ebcabd01f88c649a4b660a0b633db5acf (diff) | |
download | automotive-message-broker-e9e8281a67c5e2488db581abfc5e1972a9da0c72.tar.gz |
updated idl
-rw-r--r-- | ambd/core.cpp | 5 | ||||
-rw-r--r-- | docs/amb.in.idl | 14 | ||||
-rw-r--r-- | lib/abstractsink.h | 2 | ||||
-rw-r--r-- | lib/vehicleproperty.h | 3 |
4 files changed, 14 insertions, 10 deletions
diff --git a/ambd/core.cpp b/ambd/core.cpp index 645e6307..977838a7 100644 --- a/ambd/core.cpp +++ b/ambd/core.cpp @@ -501,6 +501,11 @@ void Core::handleAddSupported(const PropertyList& added, AbstractSource* source) if(!source) throw std::runtime_error("Core::handleAddSupported passed a null source"); + if(!contains(mSources, source)) + { + mSources.insert(source); + } + for(auto property : added) { if(!sourceForProperty(property, source->uuid())) diff --git a/docs/amb.in.idl b/docs/amb.in.idl index 0d57e836..ded521e5 100644 --- a/docs/amb.in.idl +++ b/docs/amb.in.idl @@ -40,7 +40,7 @@ map Dictionary { interface VehiclePropertyType { /*! - * \brief time stamp marking the last time a property in the interface updated + * \brief time in seconds since system start when a property in the interface updated. */ attribute Double Time readonly @@ -71,10 +71,8 @@ enumeration Zone { } /*! org.automotive.Manager - * \brief Manager is a helper interface for discovering and finding available objects - * Manager is a helper interface that helps inform of supported data types and find - * specified data type objects' path on DBus - * DBus Path: / + * \brief Manager is a helper interface for discovering and finding available objects. + * Objects represent interfaces to data types. */ interface org.automotive.Manager { @@ -82,7 +80,7 @@ interface org.automotive.Manager { * \brief return supported properties */ method List { - out { String[] } + out {array of String objectNames} } /*! @@ -102,7 +100,7 @@ interface org.automotive.Manager { String objectName } out { - String[] objectPaths + array of String objectPaths } } @@ -138,7 +136,7 @@ interface org.automotive.Manager { String objectName } out { - UInt32[] zones + array of UInt32 zones } } diff --git a/lib/abstractsink.h b/lib/abstractsink.h index 6494adec..1b4ed9db 100644 --- a/lib/abstractsink.h +++ b/lib/abstractsink.h @@ -73,7 +73,7 @@ protected: }; -/// TODO: deprecate in 0.13. +/// TODO: deprecate in 0.14. class AbstractSinkManager { public: diff --git a/lib/vehicleproperty.h b/lib/vehicleproperty.h index 08792cdf..e1bd0ed6 100644 --- a/lib/vehicleproperty.h +++ b/lib/vehicleproperty.h @@ -30,6 +30,7 @@ #include "abstractpropertytype.h" #include "mappropertytype.hpp" +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" namespace ButtonEvents { enum ButtonEventType { @@ -541,7 +542,7 @@ public: /**< Button Event @see ButtonEvents::ButtonEventType */ ///TODO: deprecated. Use ButtonEventW3C. Remove in 0.14 - [[deprecated("Depricated in 0.14. Use ButtonEventW3C")]] + [[deprecated("Deprecated in 0.14. Use ButtonEventW3C")]] static const Property ButtonEvent; PROPERTYTYPE(ButtonEvent, ButtonEventType, BasicPropertyType<ButtonEvents::ButtonEventType>, ButtonEvents::ButtonEventType) |