[Docs] - Updated docs, removed deprecated docs
authorKevron Rees <kevron.m.rees@intel.com>
Tue, 27 Jan 2015 22:50:37 +0000 (14:50 -0800)
committerKevron Rees <kevron.m.rees@intel.com>
Tue, 27 Jan 2015 22:50:37 +0000 (14:50 -0800)
RELEASE.in.md
RELEASE.md
docs/amb.in.fidl
lib/abstractroutingengine.h

index e40d5f4..999ffc9 100644 (file)
@@ -22,3 +22,4 @@ Version: @PROJECT_SERIES@
 ## Fixes:
 - [XWalk] Fixed misspelled 'diagnostics' interface
 - [DBus] Fixed misspelled 'Diagnostics' interface
+- [XWalk] Fixed Zone.equals() return type
index 91fc0f3..27f5f31 100644 (file)
@@ -22,3 +22,4 @@ Version: 0.14
 ## Fixes:
 - [XWalk] Fixed misspelled 'diagnostics' interface
 - [DBus] Fixed misspelled 'Diagnostics' interface
+- [XWalk] Fixed Zone.equals() return type
index 6d36c5a..8d4ed46 100644 (file)
@@ -249,7 +249,7 @@ interface org.automotive.Manager  {
    * \brief check whether a Property exists.
    * \arg propertyName name of property of Object
    * \return true if Property exists
-   */
+   **/
   method SupportsProperty {
        in {
          String propertyName
@@ -259,6 +259,20 @@ interface org.automotive.Manager  {
        }
   }
 
+  /*!
+   * SourcesForObjectName
+   * \brief get a list of sources for the object name
+   * \arg object name
+   * \return list of source id's
+   **/
+   method SourcesForObjectName {
+        in {
+          String objectName
+        }
+        out {
+          array of String sourceIds
+        }
+
 }
 
 /*! org.automotive.VehicleSpeed
@@ -343,26 +357,6 @@ enumeration TransmissionMode {
   overdrive = "overdrive"
 }
 
-/*! TransmissionPosition
- * \brief Describes Transmission Pistion.  Deprecated.  Will disappear in 0.14
- */
-enumeration TransmissionPosition {
-  Neutral = 0,
-  First = 1,
-  Second = 2,
-  Third = 3,
-  Fourth = 4,
-  Fifth = 5,
-  Sixth = 6,
-  Seventh = 7,
-  Eighth = 8,
-  Ninth = 9,
-  Tenth = 10,
-  Cvt = 64,
-  Reverse = 128,
-  Park = 255
-}
-
 /*! TransmissionGearType
  * \brief Describes the transmission gearbox type
 */
@@ -374,10 +368,6 @@ enumeration TransmissionGearType
 }
 
 interface org.automotive.Transmission extends VehiclePropertyType  {
-  /*!  GearPosition
-   *   \brief  MUST return transmission gear position (see TRANSMISSIONPOSITION) Deprecated.  Replaced with Gear
-   */
-   attribute TransmissionPosition GearPosition readonly
 
   /*!  TransmissionGearType
    *   \brief MUST return transmission gear type of either Automatic, Manual or Constant Variable (CV).
@@ -415,17 +405,6 @@ interface org.automotive.CruiseControlStatus extends VehiclePropertyType  {
    attribute Boolean Status readonly
 }
 
-/*!
- * Deprecated.  Use BrakeOperation.  Remove in 0.14
- */
-interface org.automotive.WheelBrake extends VehiclePropertyType  {
-
-  /*!  Engaged
-   *   \brief  MUST return Wheel Brake status: Engaged = true, disengaged = false
-   */
-   attribute Boolean Engaged readonly
-}
-
 interface org.automotive.BrakeOperation extends VehiclePropertyType  {
 
   /*!  BrakePedalDepressed
@@ -487,31 +466,14 @@ interface org.automotive.LightStatus extends VehiclePropertyType  {
   attribute Boolean DynamicHighBeam
 }
 
-
 interface org.automotive.InteriorLightStatus extends VehiclePropertyType  {
 
-  /*!  Passenger
-   *   \brief  MUST return passenger interior light status: on = true, off = false. Deprecated.  Remove in 0.14.   Use status and zone.
-   */
-   attribute Boolean Passenger readonly
-
-  /*!  Driver
-   *   \brief  MUST return driver interior light status: on = true, off = false. Deprecated.  Remove in 0.14.   Use status and zone.
-   */
-   attribute Boolean Driver readonly
-
-  /*!  Center
-   *   \brief  MUST return center interior light status: on = true, off = false. Deprecated.  Remove in 0.14.   Use status and zone.
-   */
-   attribute Boolean Center readonly
-
   /*!  Status
    *   \brief  MUST return interior light status for the zone. on = true, off = false
    */
        attribute Boolean Status
 }
 
-
 interface org.automotive.Horn extends VehiclePropertyType  {
 
   /*!  On
@@ -520,7 +482,6 @@ interface org.automotive.Horn extends VehiclePropertyType  {
    attribute Boolean On readonly
 }
 
-
 interface org.automotive.Fuel extends VehiclePropertyType  {
 
   /*!  Level
@@ -564,14 +525,8 @@ interface org.automotive.Fuel extends VehiclePropertyType  {
    attribute UInt32 TimeSinceRestart readonly
 }
 
-
 interface org.automotive.EngineOil extends VehiclePropertyType  {
 
-  /*!  Remaining
-   *   \brief MUST return remaining engine oil as percentage of fullness.  Deprecated.  Remove in 0.14.  Use "Level"
-   */
-   attribute UInt16 Remaining readonly
-
   /*!  Temperature
    *   \brief MUST return Engine Oil Temperature in Celcius.
    */
@@ -599,7 +554,6 @@ interface org.automotive.EngineOil extends VehiclePropertyType  {
 
 }
 
-
 interface org.automotive.Location extends VehiclePropertyType  {
 
   /*!  Latitude
@@ -623,7 +577,6 @@ interface org.automotive.Location extends VehiclePropertyType  {
    attribute UInt16 Direction readonly
 }
 
-
 interface org.automotive.ExteriorBrightness extends VehiclePropertyType  {
 
   /*!  ExteriorBrightness
@@ -632,24 +585,11 @@ interface org.automotive.ExteriorBrightness extends VehiclePropertyType  {
    attribute UInt16 ExteriorBrightness readonly
 }
 
-
 interface org.automotive.Temperature extends VehiclePropertyType  {
 
   /*!  Interior
    *   \brief MUST return the temperature of the interior of the vehicle in celcius.
    */
-   /// Deprecated.  Use InteriorTemperature.  Remove in 0.14
-   attribute signed short Interior readonly
-
-  /*!  Exterior
-   *   \brief MUST return the temperature of the exterior of the vehicle in celcius.
-   */
-   /// Deprecated.  Use ExteriorTemperature.  Remove in 0.14
-   attribute signed short Exterior readonly
-
-  /*!  Interior
-   *   \brief MUST return the temperature of the interior of the vehicle in celcius.
-   */
    attribute signed short InteriorTemperature readonly
 
   /*!  Exterior
@@ -658,32 +598,14 @@ interface org.automotive.Temperature extends VehiclePropertyType  {
    attribute signed short ExteriorTemperature readonly
 }
 
-
 interface org.automotive.RainSensor extends VehiclePropertyType  {
 
-  /*!  RainSensor
-   *   \brief MUST return level of rain intensity 0: No Rain - 10: Heaviest Rain.
-   *   Deprecated in 0.14.  Use rainIntensity
-   */
-   attribute UInt16 RainSensor readonly
-
   /*!  RainIntensity
    *   \brief MUST return level of rain intensity 0: No Rain - 10: Heaviest Rain.
    */
    attribute UInt16 RainIntensity readonly
 }
 
-
-/// TODO: Depricated in 0.14  Use WiperStatus
-interface org.automotive.WindshieldWiper extends VehiclePropertyType  {
-
-  /*!  WindshieldWiper
-   *   \brief MUST return Level of windshield whiper speed (0-10)
-   */
-   attribute UInt16 WindshieldWiper readonly
-
-}
-
 enumeration WiperControl {
   off = "off",
   once = "once",
@@ -708,60 +630,6 @@ interface org.automotive.WiperStatus extends VehiclePropertyType  {
    attribute WiperControl WiperSetting
 }
 
-/*! Deprecated.  Use ClimateControl interface.  Remove in 0.14
-*/
-interface org.automotive.HVAC extends VehiclePropertyType  {
-  const UInt16 AIRFLOWDIRECTION_FRONTPANEL = 0
-  const UInt16 AIRFLOWDIRECTION_FLOORDUCT= 1
-  const UInt16 AIRFLOWDIRECTION_FRONT = 0x02
-  const UInt16 AIRFLOWDIRECTION_DEFROSTER = 0x04
-
-  /*!  AirflowDirection
-   *   \brief MUST return airflow direction.  See
-   */
-  attribute UInt16 AirflowDirection
-
-  /*!  FanSpeed
-   *   \brief MUST return speed of the fan (0-7)
-   */
-  attribute UInt16 FanSpeed
-
-  /*!  TargetTemperature
-   *   \brief MUST return target desired temperature in celcius.
-   */
-  attribute UInt16 TargetTemperature
-
-  /*!  AirConditioning
-   *   \brief MUST return air conditioning on (true) / off (false).
-   */
-  attribute Boolean AirConditioning
-
-  /*!  AirRecirculation
-   *   \brief MUST return air recirculation on (true) / off (false).
-   */
-  attribute Boolean AirRecirculation
-
-  /*!  Heater
-   *   \brief MUST return heater on (true) / off (false).
-   */
-  attribute Boolean Heater
-
-  /*!  SteeringWheelHeater
-   *   \brief MUST return air recirculation on (true) / off (false).
-   */
-  attribute Boolean SteeringWheelHeater
-
-  /*!  SeatHeater
-   *   \brief MUST return seat heater status: 0-100%.
-   */
-  attribute UInt16 SeatHeater
-
-  /*!  SeatCooler
-   *   \brief MUST return seat heater status: on (true) / off (false).
-   */
-  attribute Boolean SeatCooler
-}
-
 enumeration AirflowDirectionType
 {
   frontpanel = "frontpanel",
@@ -817,22 +685,6 @@ interface org.automotive.ClimateControl extends VehiclePropertyType  {
   attribute UInt8 SteeringWheelHeater
 }
 
-/// Deprecated in 0.14.  Use SideWindow
-interface org.automotive.WindowStatus extends VehiclePropertyType  {
-
-  /*!  Openness
-   *   \brief MUST return window openness percentage (100% fully open, 0% fully closed)
-   *  for the window location see "zone" attribute
-   */
-  attribute UInt16 Openness
-
-  /*!  Defrost
-   *   \brief MUST return the defroster status of the window. On = true, Off = false.
-   *   Deprecated.  Use Defrost interface.  Remove in 0.14.
-   */
-  attribute Boolean Defrost
-}
-
 interface org.automotive.SideWindow extends VehiclePropertyType  {
 
   /*!  Openness
@@ -1007,12 +859,6 @@ interface org.automotive.WheelInformation extends VehiclePropertyType  {
 
 interface org.automotive.Odometer extends VehiclePropertyType  {
 
-  /*!  Odometer
-   *   \brief MUST return Distance traveled in km
-   */
-   /// Deprecated. Use DistanceTotal.  Remove in 0.14
-   attribute UInt32 Odometer readonly
-
   /*!  DistnaceTotal
    *   \brief MUST return Distance traveled in m
    */
@@ -1031,32 +877,6 @@ interface org.automotive.Fluid extends VehiclePropertyType  {
    *   \brief MUST return Transmission fluid level percentage. 0-100.
    */
    attribute UInt16 Transmission readonly
-
-  /*!  Brake
-   *   \brief MUST return Brake fluid level percentage. 0-100.
-   *   TODO: Deprecated.  use BrakeMaintenance::FluidLevel  Remove in 0.14
-   */
-   attribute UInt16 Brake readonly
-
-  /*!  Washer
-   *   \brief MUST return Washer fluid level percentage. 0-100.
-   *   TODO: Deprecated. use WasherFluid::Level.  Remove in 0.14
-   */
-   attribute UInt16 Washer readonly
-}
-
-///TODO: Deprecated.  Use BatteryStatus.  Remove in 0.14
-interface org.automotive.Battery extends VehiclePropertyType  {
-
-  /*!  Voltage
-   *   \brief MUST return battery voltage.
-   */
-   attribute Double Voltage readonly
-
-  /*!  Current
-   *   \brief MUST return battery current in Amperes
-   */
-   attribute Double Current readonly
 }
 
 interface org.automotive.BatteryStatus extends VehiclePropertyType  {
@@ -1107,45 +927,14 @@ interface org.automotive.SecurityAlert extends VehiclePropertyType  {
 
 interface org.automotive.ParkingBrake extends VehiclePropertyType  {
 
-  /*!  ParkingBrake
-   *   MUST return status of parking brake:  Engaged = true, Disengaged = false.
-   TODO: Deprecated in 0.14.  Use Status
-   */
-   attribute Boolean ParkingBrake readonly
-
   /*!
   * \brief MUST return the current status of parking brake.
   */
   attribute ParkingBrakeStatus Status
 }
 
-/// Deprecated.  Use LightStatus.  remove in 0.14
-interface org.automotive.ParkingLight extends VehiclePropertyType  {
-
-  /*!  ParkingLight
-   *   MUST return status of parking light:  Engaged = true, Disengaged = false.
-   */
-   attribute Boolean ParkingLight readonly
-}
-
-/// Deprecated.  Use LightStatus.  remove in 0.14
-interface org.automotive.HazardLight extends VehiclePropertyType  {
-
-  /*!  HazardLight
-   *   MUST return status of hazard light:  Engaged = true, Disengaged = false.
-   */
-   attribute Boolean HazardLight readonly
-}
-
-
 interface org.automotive.AntilockBrakingSystem extends VehiclePropertyType  {
 
-  /*!  AntilockBrakingSystem
-   *   \brief MUST return whether Antilock Braking System is Idle (false) or Engaged (true)
-   *   TODO: Deprecated.  Use Engaged.  Remove in 0.14
-   */
-   attribute Boolean AntilockBrakingSystem readonly
-
   /*!
   * \brief MUST return whether or not the ABS Setting is enabled: enabled (true) or disabled (false)
   */
@@ -1160,12 +949,6 @@ interface org.automotive.AntilockBrakingSystem extends VehiclePropertyType  {
 
 interface org.automotive.TractionControlSystem extends VehiclePropertyType  {
 
-  /*!  TractionControlSystem
-   *   \brief MUST return whether Traction Control System is Off (false) or On (true)
-   * TODO: Deprecated.  Use Engaged.  Remove in 0.14
-   */
-   attribute Boolean TractionControlSystem readonly
-
   /*!
   * \brief MUST return whether or not the TCS Setting is enabled: enabled (true) or disabled (false)
   */
@@ -1189,12 +972,6 @@ interface org.automotive.VehicleTopSpeedLimit extends VehiclePropertyType  {
 
 interface org.automotive.AirbagStatus extends VehiclePropertyType  {
 
-  /*!  AirbagStatus
-   *   \brief MUST return Airbag status (byte) (see AIRBAGSTATUS_*)
-   *  TODO: deprecated.  Remove in 0.14
-   */
-   attribute UInt16 AirbagStatus readonly
-
   /*!
   * \brief MUST return whether or not the airbag is activaged: activated (true) or deactivated (false)
   */
@@ -1206,40 +983,6 @@ interface org.automotive.AirbagStatus extends VehiclePropertyType  {
   attribute Boolean Deployed readonly
 }
 
-/// TODO: deprecated. Remove in 0.14
-enumeration AirbagStatus {
-  inactive = 0,
-  active = 1,
-  deployed = 2
-}
-
-/*!
- * Deprecated.  Use "Door".  Remove in 0.14
- */
-interface org.automotive.DoorStatus extends VehiclePropertyType  {
-
-  /*!  DoorStatus
-   *   \brief MUST return Door status (byte).
-   * CLOSED = 0
-   * OPEN = 1
-   * AJAR = 2
-   */
-   attribute UInt16 DoorStatus readonly
-
-  /*!  DoorLockStatus
-   *   \brief MUST return Door status (bool locked = true, unlocked = false).
-   */
-  attribute Boolean DoorLockStatus
-
-  /*!  ChildLockStatus
-   *   \brief MUST return Child lock status of rear doors.  active = true, inactive = false.
-   *   Setting this to 'true' will prevent the rear doors from being opened
-   *   from the inside.
-   */
-   ///TODO: Deprecated in 0.14.  Use org.automotive.ChildLockStatus
-  attribute Boolean ChildLockStatus
-}
-
 enumeration DoorStatus {
   open = "open",
   ajar = "ajar",
@@ -1266,25 +1009,6 @@ interface org.automotive.Door extends VehiclePropertyType  {
   attribute Boolean ChildLock
 }
 
-///TODO: Deprecated in 0.14.  Use org.automotive.Seat
-interface org.automotive.SeatBelt extends VehiclePropertyType  {
-
-  /*! Status
-   *  \brief MUST return Seat Belt Status (bool: Fasten = true, Unfastened = false)
-   */
-   attribute Boolean Status readonly
-}
-
-///TODO: Deprecated in 0.14.  Use org.automotive.Seat
-interface org.automotive.OccupantStatus extends VehiclePropertyType  {
-
-  /*!  OccupantStatus
-   *   \brief MUST return status of Occupant (byte, see
-   */
-   attribute UInt16 OccupantStatus readonly
-}
-
-
 interface org.automotive.ObstacleDistance extends VehiclePropertyType  {
 
   /*!  ObstacleDistance
@@ -1298,12 +1022,6 @@ interface org.automotive.NightMode extends VehiclePropertyType {
 
   /*!
    * \brief MUST return whether or not the system is in NightMode or not.  True = Night time, False = Day time
-   * Deprecated.  Will be removed in 0.14. Use "Mode"
-   */
-   attribute Boolean NightMode readonly
-
-  /*!
-   * \brief MUST return whether or not the system is in NightMode or not.  True = Night time, False = Day time
    */
    attribute Boolean Mode readonly
 }
@@ -1339,7 +1057,6 @@ interface org.automotive.Language extends VehiclePropertyType {
    attribute String Language readonly
 }
 
-
 interface org.automotive.MeasurementSystem extends VehiclePropertyType {
 
   /*!
@@ -1348,53 +1065,6 @@ interface org.automotive.MeasurementSystem extends VehiclePropertyType {
    attribute UInt16 MeasurementSystem readonly
 }
 
-
-///TODO Deprecated.  Use org.automotive.Mirror.  Remove in 0.14
-interface org.automotive.MirrorSetting extends VehiclePropertyType {
-
-  /*!
-  * \brief MUST return
-  */
-   attribute UInt8 Pan readonly
-   attribute UInt8 Tilt readonly
-}
-
-
-///TODO Deprecated.  Use org.automotive.SeadAdjustment.  Remove in 0.14
-interface org.automotive.SeatPosition extends VehiclePropertyType {
-
-  /*!
-  * \brief MUST return
-  */
-   attribute UInt16 Recline readonly
-
-       /*!
-  * \brief MUST return
-  */
-   attribute UInt16 Slide readonly
-
-  /*!
-  * \brief MUST return
-  */
-   attribute UInt16 CushionHeight readonly
-
-  /*!
-  * \brief MUST return
-  */
-   attribute UInt16 Headrest readonly
-
-  /*!
-  * \brief MUST return
-  */
-   attribute UInt16 BackCushion readonly
-
-  /*!
-  * \brief MUST return
-  */
-   attribute UInt16 SideCushion readonly
-}
-
-
 interface org.automotive.SteeringWheelPosition extends VehiclePropertyType {
 
   /*!
@@ -1417,28 +1087,6 @@ interface org.automotive.DashboardIllumination extends VehiclePropertyType {
    attribute UInt16 DashboardIllumination readonly
 }
 
-///TODO Deprecated.  Use org.automotive.VehicleSound. Remove in 0.14
-interface org.automotive.GeneratedVehicleSoundMode extends VehiclePropertyType {
-
-  /*!
-  * \brief MUST return Sound Mode: 0 = Normal, 1 = Quiet, 2 = Sportive
-  */
-   attribute UInt16 GeneratedVehicleSoundMode readonly
-}
-
-
-/*! SteeringWheelAngle
- *\brief
- * Deprecated.  Use SteeringWheel
- */
-interface org.automotive.SteeringWheelAngle extends VehiclePropertyType {
-
-  /*!
-  * \brief MUST return angle of the steering wheel. 0-359 degrees.
-  */
-   attribute UInt16 SteeringWheelAngle readonly
-}
-
 interface org.automotive.SteeringWheel extends VehiclePropertyType {
 
   /*!
index cce0140..90c3810 100644 (file)
@@ -375,11 +375,10 @@ public:
        virtual void updateSupported(PropertyList added, PropertyList removed, AbstractSource* source) = 0;
 
 
-       /// Deprecated:
+       ///TODO: Deprecated, remove in 0.15:
        void updateProperty(VehicleProperty::Property property, AbstractPropertyType* value, std::string uuid)
        {
-               DebugOut(DebugOut::Warning)<<"updateProperty(VehicleProperty::Property,AbstractPropertyType*,std::string) is deprecated.  use new updateProperty(AbstractPropertyType*, const std::string &)"<<endl;
-               updateProperty(value,uuid);
+               throw std::runtime_error("updateProperty(VehicleProperty::Property,AbstractPropertyType*,std::string) is deprecated.  use new updateProperty(AbstractPropertyType*, const std::string &)");
        }
 
        virtual void updateProperty(AbstractPropertyType* value, const std::string &uuid) = 0;
@@ -390,9 +389,9 @@ public:
        virtual void  unregisterSink(AbstractSink* self) = 0;
 
        /**
-        * /brief sourcesForProperty
-        * /param property
-        * /return vector of source uuid's that support the "property"
+        * \brief sourcesForProperty
+        * \param property
+        * \return vector of source uuid's that support the "property"
         */
        virtual std::vector<std::string> sourcesForProperty(const VehicleProperty::Property & property) = 0;
 
@@ -457,6 +456,11 @@ public:
 
        /*!
         * \brief subscribeToProperty subscribes to propertyName.  Value changes will be passed to callback.
+        * \code
+        * subscribeToProperty(Vehicle::EngineSpeed, [](AbstractPropertyType* property) {
+        *   ...
+        * }, this);
+        * \endcode
         * \arg propertyName
         * \arg callback
         * \arg pid process id of the requesting application
@@ -472,6 +476,8 @@ public:
 
        /*!
         * \brief subscribeToProperty subscribe to changes made to a property value.
+        * By default, all providers of this property will receive the subscription.  If you need to filter by source, use
+        * \ref subscribeToProperty(const VehicleProperty::Property & propertyName, const std::string & sourceUuidFilter, AbstractSink *self)
         * \arg propertyName name of the property to request a subscription for.
         * \arg self pointer to the sink who is subscribing.
         * \code