20 #ifndef VEHICLEPROPERTY_H 21 #define VEHICLEPROPERTY_H 30 #include "abstractpropertytype.h" 31 #include "mappropertytype.hpp" 34 enum ButtonEventType {
40 Preset1Button = 1 << 4,
41 Preset2Button = 1 << 5,
42 Preset3Button = 1 << 6,
43 Preset4Button = 1 << 7,
45 NavigateUpButton = 1 << 9,
46 NavigateDownButton = 1 << 10,
47 NavigateLeftButton = 1 << 11,
48 NavigateRightButton = 1 << 12
53 extern const char* Home;
54 extern const char* Back;
55 extern const char* Search;
56 extern const char* Call;
57 extern const char* EndCall;
58 extern const char* MediaPlay;
59 extern const char* MediaNext;
60 extern const char* MediaPrevious;
61 extern const char* MediaPause;
62 extern const char* VoiceRecognize;
63 extern const char* Enter;
64 extern const char* Left;
65 extern const char* Right;
66 extern const char* Up;
67 extern const char* Down;
82 enum TransmissionPositions
119 extern const char* Park;
120 extern const char* Reverse;
121 extern const char* Neutral;
122 extern const char* Low;
123 extern const char*
Drive;
124 extern const char* Overdrive;
157 UnknownPosition = -1,
193 extern const char * Disarmed;
194 extern const char * Prearmed;
195 extern const char * Armed;
196 extern const char * Alarmed;
222 extern const char * Closed;
223 extern const char * Open;
224 extern const char * Ajar;
239 extern const char * Vacant;
240 extern const char * Child;
241 extern const char * Adult;
243 extern const char * Pin;
244 extern const char * Keyfob;
245 extern const char * Bluetooth;
246 extern const char * NFC ;
247 extern const char * Fingerprint;
248 extern const char * Camera;
249 extern const char * Voice;
268 extern const char * Opened;
269 extern const char * Opening;
270 extern const char * Closed;
271 extern const char * Closing;
278 extern const char * Off;
279 extern const char * Once;
280 extern const char * Slowest;
281 extern const char * Slow;
282 extern const char * Middle;
283 extern const char * Fast;
284 extern const char * Fastest;
285 extern const char * Auto;
291 enum AirflowDirection
302 extern const char * FloorPanel;
303 extern const char * FloorDuct;
304 extern const char * Bilevel;
305 extern const char * DefrostFloor;
330 extern const char* Comfort;
331 extern const char* Auto;
332 extern const char* Sport;
333 extern const char* Eco;
334 extern const char* Manual;
335 extern const char* Winter;
354 extern const char * Off;
355 extern const char * Pause;
356 extern const char * Running;
364 extern const char * Inactive;
365 extern const char * Active;
366 extern const char * Error;
370 #include <boost/preprocessor/comma.hpp> 372 #define PROPERTYTYPE(property, propertyType, baseClass, valueType) \ 373 class propertyType : public baseClass { \ 374 public: propertyType(): baseClass(property) {} \ 375 propertyType(valueType val) : baseClass(property, val) {} \ 376 using baseClass::operator=; \ 379 #define PROPERTYTYPE1(property, propertyType, baseClass, valueType) \ 380 class propertyType : public baseClass { \ 381 public: propertyType(): baseClass(#property) {} \ 382 propertyType(valueType val) : baseClass(#property, val) {} \ 385 #define PROPERTYTYPEBASIC(property, valueType) \ 386 class property ## Type : public BasicPropertyType<valueType> { \ 387 public: property ## Type(): BasicPropertyType(property) {} \ 388 property ## Type(valueType val) : BasicPropertyType(property, val) {} \ 389 using BasicPropertyType<valueType>::operator=; \ 392 #define PROPERTYTYPEBASIC1(property, valueType) \ 393 class property ## Type : public BasicPropertyType<valueType> { \ 394 public: property ## Type(): BasicPropertyType( #property) {} \ 395 property ## Type(valueType val) : BasicPropertyType(#property, val) {} \ 398 #define PROPERTYTYPENOVAL(property, propertyType, baseClass) \ 399 class propertyType : public baseClass { \ 400 public: propertyType(): baseClass(property) {} \ 406 typedef std::vector<std::string> PropertyList;
407 typedef std::set<std::string> PropertySet;
417 static void factory();
419 typedef std::string Property;
438 PROPERTYTYPE(EngineSpeed, EngineSpeedType,
BasicPropertyType<uint16_t>, uint16_t)
450 static const Property TransmissionShiftPosition;
451 PROPERTYTYPE(TransmissionShiftPosition, TransmissionShiftPositionType,
463 static const Property TransmissionGearPosition;
464 PROPERTYTYPE(TransmissionGearPosition, TransmissionGearPositionType,
469 static const Property TransmissionMode;
470 PROPERTYTYPE(TransmissionMode, TransmissionModeType,
477 static const Property TransmissionModeW3C;
482 PROPERTYTYPE(ThrottlePosition, ThrottlePositionType,
BasicPropertyType<uint16_t> , uint16_t)
486 static const Property WheelBrake;
490 static const Property WheelBrakePressure;
491 PROPERTYTYPE(WheelBrakePressure, WheelBrakePressureType,
BasicPropertyType<uint16_t>, uint16_t)
497 static const Property SteeringWheelAngle;
498 PROPERTYTYPE(SteeringWheelAngle, SteeringWheelAngleType,
BasicPropertyType<uint16_t>, uint16_t)
501 static const Property SteeringWheelAngleW3C;
502 PROPERTYTYPEBASIC(SteeringWheelAngleW3C, int16_t)
505 static const Property TurnSignal;
506 PROPERTYTYPEBASIC(TurnSignal,
TurnSignals::TurnSignalType)
509 static const Property ClutchStatus;
513 static const Property EngineOilPressure;
514 PROPERTYTYPE(EngineOilPressure, EngineOilPressureType,
BasicPropertyType<uint16_t>, uint16_t)
517 static const Property EngineCoolantTemperature;
518 PROPERTYTYPEBASIC(EngineCoolantTemperature, int16_t)
520 static const Property EngineCoolantLevel;
521 PROPERTYTYPE(EngineCoolantLevel, EngineCoolantLevelType,
BasicPropertyType<uint>, uint)
524 static const Property MachineGunTurretStatus;
525 PROPERTYTYPEBASIC(MachineGunTurretStatus,
bool)
527 static const Property AccelerationX;
528 PROPERTYTYPEBASIC(AccelerationX, int16_t)
530 static const Property AccelerationY;
531 PROPERTYTYPEBASIC(AccelerationY, int16_t)
533 static const Property AccelerationZ;
534 PROPERTYTYPEBASIC(AccelerationZ, int16_t)
537 static const Property MassAirFlow;
538 PROPERTYTYPE(MassAirFlow, MassAirFlowType,
BasicPropertyType<uint16_t>, uint16_t)
546 static const Property ButtonEventW3C;
555 static const Property AirIntakeTemperature;
560 static const Property BatteryVoltage;
561 PROPERTYTYPE(BatteryVoltage, BatteryVoltageType,
BasicPropertyType<
double>,
double)
564 static const Property BatteryCurrent;
565 PROPERTYTYPE(BatteryCurrent, BatteryCurrentType,
BasicPropertyType<
double>,
double)
568 static const Property BatteryChargeLevel;
569 PROPERTYTYPEBASIC(BatteryChargeLevel, uint16_t)
572 static const Property InteriorTemperature;
573 PROPERTYTYPE(InteriorTemperature, InteriorTemperatureType,
BasicPropertyType<
int>,
int)
576 static const Property ExteriorTemperature;
577 PROPERTYTYPE(ExteriorTemperature, ExteriorTemperatureType,
BasicPropertyType<
int>,
int)
580 static const Property EngineOilTemperature;
581 PROPERTYTYPEBASIC(EngineOilTemperature,
int)
583 static const Property EngineOilRemaining;
584 PROPERTYTYPEBASIC(EngineOilRemaining, uint16_t)
586 static const Property EngineOilLifeRemaining;
587 PROPERTYTYPEBASIC(EngineOilLifeRemaining, uint16_t)
589 static const Property EngineOilChangeIndicator;
590 PROPERTYTYPEBASIC(EngineOilChangeIndicator,
bool)
593 static const Property VIN;
598 static const Property WMI;
599 PROPERTYTYPE(WMI, WMIType, StringPropertyType,
std::
string)
603 static const Property TirePressure;
604 PROPERTYTYPEBASIC(TirePressure, uint16_t)
607 static const Property TirePressureLow;
608 PROPERTYTYPEBASIC(TirePressureLow,
bool)
611 static const Property TireTemperature;
612 PROPERTYTYPEBASIC(TireTemperature, int16_t)
621 static const Property TripMeters;
625 static const Property CruiseControlActive;
626 PROPERTYTYPE(CruiseControlActive, CruiseControlActiveType,
BasicPropertyType<
bool>,
bool)
629 static const Property CruiseControlSpeed;
630 PROPERTYTYPE(CruiseControlSpeed, CruiseControlSpeedType,
BasicPropertyType<uint16_t>, uint16_t)
633 static const Property LightHead;
635 static const Property LightRightTurn;
637 static const Property LightLeftTurn;
639 static const Property LightBrake;
641 static const Property LightFog;
643 static const Property LightHazard;
645 static const Property LightParking;
647 static const Property LightHighBeam;
649 static const Property LightAutomatic;
650 PROPERTYTYPEBASIC(LightAutomatic,
bool)
651 static const Property LightDynamicHighBeam;
652 PROPERTYTYPEBASIC(LightDynamicHighBeam,
bool)
655 static const Property InteriorLightDriver;
656 PROPERTYTYPE(InteriorLightDriver, InteriorLightDriverType,
BasicPropertyType<
bool>,
bool)
658 static const Property InteriorLightCenter;
659 PROPERTYTYPE(InteriorLightCenter, InteriorLightCenterType,
BasicPropertyType<
bool>,
bool)
661 static const Property InteriorLightPassenger;
662 PROPERTYTYPE(InteriorLightPassenger, InteriorLightPassengerType,
BasicPropertyType<
bool>,
bool)
665 PROPERTYTYPEBASIC(InteriorLightStatus,
bool)
667 static const Property EngineLoad;
670 static const Property
Horn;
673 static const Property FuelLevel;
676 static const Property FuelRange;
679 static const Property FuelConsumption;
680 PROPERTYTYPE(FuelConsumption, FuelConsumptionType,
BasicPropertyType<uint>, uint)
682 static const Property FuelEconomy;
683 PROPERTYTYPE(FuelEconomy, FuelEconomyType,
BasicPropertyType<uint16_t>, uint16_t)
685 static const Property FuelAverageEconomy;
686 PROPERTYTYPE(FuelAverageEconomy, FuelAverageEconomyType,
BasicPropertyType<uint16_t> , uint16_t)
688 static const Property FuelAverageConsumption;
689 PROPERTYTYPEBASIC(FuelAverageConsumption, uint)
691 static const Property FuelTimeSinceRestart;
692 PROPERTYTYPEBASIC(FuelTimeSinceRestart, uint)
694 static const Property FuelConsumptionSinceRestart;
695 PROPERTYTYPEBASIC(FuelConsumptionSinceRestart, uint)
697 static const Property FuelType;
700 static const Property FuelPositionSide;
704 PROPERTYTYPE(ExteriorBrightness, ExteriorBrightnessType,
BasicPropertyType<uint16_t>, uint16_t)
706 static const Property Latitude;
709 static const Property Longitude;
712 static const Property Altitude;
715 static const Property Direction;
718 static const Property VehicleWidth;
720 static const Property VehicleHeight;
722 static const Property VehicleLength;
728 static const Property DoorsPerRow;
731 static const Property TransmissionGearType;
734 static const Property FrontWheelRadius;
735 PROPERTYTYPE(FrontWheelRadius, FrontWheelRadiusType,
BasicPropertyType<uint16_t>, uint16_t)
736 static const Property RearWheelRadius;
737 PROPERTYTYPE(RearWheelRadius, RearWheelRadiusType,
BasicPropertyType<uint16_t>, uint16_t)
739 static const Property WheelTrack;
742 static const Property BrakePressure;
743 PROPERTYTYPEBASIC(BrakePressure, uint16_t)
747 PROPERTYTYPEBASIC(Odometer, uint)
749 static const Property DistanceTotal;
750 PROPERTYTYPEBASIC(DistanceTotal, uint)
752 static const Property DistanceSinceStart;
753 PROPERTYTYPEBASIC(DistanceSinceStart, uint)
757 static const Property TransmissionFluidLevel;
758 PROPERTYTYPEBASIC(TransmissionFluidLevel, uint16_t)
760 static const Property TransmissionOilWear;
761 PROPERTYTYPEBASIC(TransmissionOilWear, uint16_t)
763 static const Property TransmissionOilTemperature;
764 PROPERTYTYPEBASIC(TransmissionOilTemperature, int16_t)
766 static const Property TransmissionClutchWear;
767 PROPERTYTYPEBASIC(TransmissionClutchWear, uint16_t)
771 static const Property BrakeFluidLevel;
772 PROPERTYTYPEBASIC(BrakeFluidLevel, uint16_t)
776 static const Property WasherFluidLevel;
777 PROPERTYTYPEBASIC(WasherFluidLevel, uint16_t)
779 static const Property WasherFluidLevelLow;
780 PROPERTYTYPEBASIC(WasherFluidLevelLow,
bool)
783 static const Property SecurityAlertStatus;
784 PROPERTYTYPEBASIC(SecurityAlertStatus,
Security::Status)
790 static const Property ParkingBrakeStatus;
791 PROPERTYTYPEBASIC(ParkingBrakeStatus,
bool)
796 static const Property ParkingBrakeStatusW3C;
797 PROPERTYTYPE(ParkingBrakeStatusW3C, ParkingBrakeStatusW3CType, StringPropertyType,
std::
string)
802 static const Property ParkingLightStatus;
803 PROPERTYTYPEBASIC(ParkingLightStatus,
bool)
808 static const Property HazardLightStatus;
809 PROPERTYTYPEBASIC(HazardLightStatus,
bool)
812 PROPERTYTYPEBASIC(AntilockBrakingSystem,
bool)
814 static const Property AntilockBrakingSystemEnabled;
815 PROPERTYTYPEBASIC(AntilockBrakingSystemEnabled,
bool)
818 PROPERTYTYPEBASIC(TractionControlSystem,
bool)
820 static const Property TractionControlSystemEnabled;
821 PROPERTYTYPEBASIC(TractionControlSystemEnabled,
bool)
824 PROPERTYTYPEBASIC(VehicleTopSpeedLimit,uint16_t)
828 PROPERTYTYPEBASIC(AirbagStatus,
Airbag::Status)
830 static const Property AirbagActivated;
831 PROPERTYTYPEBASIC(AirbagActivated,
bool)
833 static const Property AirbagDeployed;
834 PROPERTYTYPEBASIC(AirbagDeployed,
bool)
838 PROPERTYTYPEBASIC(DoorStatus,
Door::Status)
844 static const Property DoorStatusW3C;
845 PROPERTYTYPE(DoorStatusW3C, DoorStatusW3CType, StringPropertyType,
std::
string)
847 static const Property DoorLockStatus;
848 PROPERTYTYPEBASIC(DoorLockStatus,
bool)
850 static const Property ChildLockStatus;
851 PROPERTYTYPEBASIC(ChildLockStatus,
bool)
853 static const Property SeatBeltStatus;
854 PROPERTYTYPEBASIC(SeatBeltStatus,
bool)
856 static const Property WindowLockStatus;
857 PROPERTYTYPEBASIC(WindowLockStatus,
bool)
861 PROPERTYTYPEBASIC(OccupantStatus,
Seat::Occupant)
863 static const Property OccupantStatusW3C;
864 PROPERTYTYPE(OccupantStatusW3C, OccupantStatusW3CType, StringPropertyType,
std::
string)
867 PROPERTYTYPEBASIC(ObstacleDistance,
double)
870 PROPERTYTYPEBASIC(RainSensor, uint16_t)
873 static const Property WindshieldWiper;
874 PROPERTYTYPEBASIC(WindshieldWiper,
Window::WiperSpeed)
880 static const Property WindshieldWiperSpeed;
881 PROPERTYTYPE(WindshieldWiperSpeed, WindshieldWiperSpeedType, StringPropertyType,
std::
string)
887 static const Property WindshieldWiperSetting;
888 PROPERTYTYPE(WindshieldWiperSetting, WindshieldWiperSettingType, StringPropertyType,
std::
string)
891 static const Property AirflowDirection;
892 PROPERTYTYPEBASIC(AirflowDirection,
HVAC::AirflowDirection)
894 static const Property AirflowDirectionW3C;
895 PROPERTYTYPE(AirflowDirectionW3C, AirflowDirectionW3CType, StringPropertyType,
std::
string)
897 static const Property FanSpeed;
898 PROPERTYTYPEBASIC(FanSpeed, uint16_t)
900 static const Property TargetTemperature;
901 PROPERTYTYPEBASIC(TargetTemperature,
int)
903 static const Property AirConditioning;
904 PROPERTYTYPEBASIC(AirConditioning,
bool)
906 static const Property AirRecirculation;
907 PROPERTYTYPEBASIC(AirRecirculation,
bool)
909 static const Property Heater;
910 PROPERTYTYPEBASIC(Heater,
bool)
914 PROPERTYTYPEBASIC(Defrost,
bool )
916 static const Property DefrostWindow;
917 PROPERTYTYPEBASIC(DefrostWindow,
bool )
919 static const Property DefrostMirror;
920 PROPERTYTYPEBASIC(DefrostMirror,
bool )
922 static const Property SteeringWheelHeater;
923 PROPERTYTYPEBASIC(SteeringWheelHeater,
bool)
926 static const Property SeatHeater;
927 PROPERTYTYPEBASIC(SeatHeater,
int)
930 static const Property SeatCooler;
931 PROPERTYTYPEBASIC(SeatCooler,
bool)
935 PROPERTYTYPEBASIC(WindowStatus, uint16_t)
938 PROPERTYTYPEBASIC(Sunroof, uint16_t)
941 static const Property SunroofTilt;
942 PROPERTYTYPEBASIC(SunroofTilt,uint16_t)
946 PROPERTYTYPEBASIC(ConvertibleRoof,
bool)
951 static const Property ConvertibleRoofStatus;
952 PROPERTYTYPE(ConvertibleRoofStatus, ConvertibleRoofStatusType, StringPropertyType,
std::
string)
955 PROPERTYTYPEBASIC(NightMode,
bool)
958 PROPERTYTYPEBASIC(DrivingMode,
Driving::Mode)
960 static const Property DrivingModeW3C;
961 PROPERTYTYPEBASIC(DrivingModeW3C,
bool)
963 static const Property KeyId;
964 PROPERTYTYPE(KeyId, KeyIdType, StringPropertyType,
std::
string)
966 static const Property Language;
967 PROPERTYTYPE(Language, LanguageType, StringPropertyType,
std::
string)
969 static const Property MeasurementSystem;
970 PROPERTYTYPEBASIC(MeasurementSystem,
Measurement::Type)
972 static const Property MirrorSettingPan;
973 static const Property MirrorSettingTilt;
975 PROPERTYTYPEBASIC(MirrorSettingPan, uint16_t)
976 PROPERTYTYPEBASIC(MirrorSettingTilt, uint16_t)
978 static const Property SteeringWheelPositionSlide;
979 static const Property SteeringWheelPositionTilt;
981 PROPERTYTYPEBASIC(SteeringWheelPositionSlide, uint16_t)
982 PROPERTYTYPEBASIC(SteeringWheelPositionTilt, uint16_t)
984 static const Property SeatPositionRecline;
985 static const Property SeatPositionSlide;
986 static const Property SeatPositionCushionHeight;
987 static const Property SeatPositionHeadrest;
988 static const Property SeatPositionBackCushion;
989 static const Property SeatPositionSideCushion;
991 PROPERTYTYPEBASIC(SeatPositionRecline, uint16_t)
992 PROPERTYTYPEBASIC(SeatPositionSlide, uint16_t)
993 PROPERTYTYPEBASIC(SeatPositionCushionHeight, uint16_t)
994 PROPERTYTYPEBASIC(SeatPositionHeadrest, uint16_t)
995 PROPERTYTYPEBASIC(SeatPositionBackCushion, uint16_t)
996 PROPERTYTYPEBASIC(SeatPositionSideCushion, uint16_t)
998 static const Property DashboardIllumination;
999 PROPERTYTYPEBASIC(DashboardIllumination, uint16_t)
1001 static const Property GeneratedVehicleSoundMode;
1002 PROPERTYTYPEBASIC(GeneratedVehicleSoundMode,
Vehicle::SoundMode)
1004 static const Property DriverId;
1005 PROPERTYTYPE(DriverId, DriverIdType, StringPropertyType,
std::
string)
1008 PROPERTYTYPEBASIC(PowertrainTorque, uint16_t)
1011 PROPERTYTYPEBASIC(AcceleratorPedalPosition, uint16_t)
1013 static const Property
Chime;
1014 PROPERTYTYPEBASIC(Chime,
bool)
1017 PROPERTYTYPEBASIC(WheelTick, uint)
1019 static const Property IgnitionTimeOn;
1020 PROPERTYTYPEBASIC(IgnitionTimeOn, uint64_t)
1022 static const Property IgnitionTimeOff;
1023 PROPERTYTYPEBASIC(IgnitionTimeOff, uint64_t)
1025 static const Property
YawRate;
1026 PROPERTYTYPEBASIC(YawRate, int16_t)
1028 static const Property BrakePadWear;
1029 PROPERTYTYPEBASIC(BrakePadWear, uint16_t)
1031 static const Property BrakeFluidLevelLow;
1032 PROPERTYTYPEBASIC(BrakeFluidLevelLow,
bool)
1034 static const Property BrakesWorn;
1035 PROPERTYTYPEBASIC(BrakesWorn,
bool)
1037 static const Property MalfunctionIndicatorOn;
1038 PROPERTYTYPEBASIC(MalfunctionIndicatorOn,
bool)
1040 static const Property AccumulatedEngineRuntime;
1041 PROPERTYTYPEBASIC(AccumulatedEngineRuntime, uint32_t)
1043 static const Property DistanceSinceCodeCleared;
1044 PROPERTYTYPEBASIC(DistanceSinceCodeCleared, uint32_t)
1046 static const Property DistanceWithMILOn;
1047 PROPERTYTYPEBASIC(DistanceWithMILOn, uint32_t)
1049 static const Property TimeRunMILOn;
1050 PROPERTYTYPEBASIC(TimeRunMILOn, uint32_t)
1052 static const Property TimeTroubleCodeClear;
1053 PROPERTYTYPEBASIC(TimeTroubleCodeClear, uint32_t)
1055 static const Property VehicleDriveMode;
1056 PROPERTYTYPE(VehicleDriveMode, VehicleDriveModeType, StringPropertyType,
std::
string)
1058 static const Property ActiveNoiseControlMode;
1059 PROPERTYTYPEBASIC(ActiveNoiseControlMode,
bool)
1061 static const Property AvailableSounds;
1062 PROPERTYTYPE(AvailableSounds, AvailableSoundsType,
ListPropertyType<StringPropertyType>, StringPropertyType)
1064 static const Property EngineSoundEnhancementMode;
1065 PROPERTYTYPE(EngineSoundEnhancementMode, EngineSoundEnhancementModeType, StringPropertyType,
std::
string)
1067 static const Property ElectronicStabilityControlEnabled;
1068 PROPERTYTYPEBASIC(ElectronicStabilityControlEnabled,
bool)
1070 static const Property ElectronicStabilityControlEngaged;
1071 PROPERTYTYPEBASIC(ElectronicStabilityControlEngaged,
bool)
1073 static const Property OccupantIdentificationType;
1074 PROPERTYTYPE(OccupantIdentificationType, OccupantIdentificationTypeType, StringPropertyType,
std::
string)
1076 static const Property OccupantName;
1077 PROPERTYTYPE(OccupantName, OccupantNameType, StringPropertyType,
std::
string)
1080 PROPERTYTYPEBASIC(AtmosphericPressure, uint16_t)
1082 static const Property LaneDepartureStatus;
1083 PROPERTYTYPE(LaneDepartureStatus, LaneDepartureStatusType, StringPropertyType,
std::
string)
1088 static const Property AlarmStatus;
1089 PROPERTYTYPE(AlarmStatus, AlarmStatusType, StringPropertyType,
std::
string)
1100 static PropertyList capabilities();
1106 static PropertyList customProperties();
1132 static
bool registerProperty(Property name, PropertyTypeFactoryCallback factory);
1140 static
std::unique_ptr<VehicleProperty> thereCanOnlyBeOne;
1142 static
bool registerPropertyPriv(Property name, PropertyTypeFactoryCallback factory);
1144 static
std::map<Property, PropertyTypeFactoryCallback> registeredPropertyFactoryMap;
1145 static PropertyList mCapabilities;
1146 static PropertyList mCustomProperties;
1149 #endif // VEHICLEPROPERTY_H Corresponds with DBus Interface org.automotive.ThrottlePosition.
Definition: ambdbusmappings.idl:391
Definition: vehicleproperty.h:360
Corresponds with DBus Interface org.automotive.WheelTick.
Definition: ambdbusmappings.idl:481
Definition: vehicleproperty.h:165
Definition: vehicleproperty.h:212
Corresponds with DBus Interface org.automotive.TractionControlSystem.
Definition: ambdbusmappings.idl:1202
Corresponds with DBus Interface org.automotive.InteriorLightStatus.
Definition: ambdbusmappings.idl:229
Definition: vehicleproperty.h:340
Definition: vehicleproperty.h:128
Corresponds with DBus Interface org.automotive.AirbagStatus.
Definition: ambdbusmappings.idl:1246
Definition: abstractpropertytype.h:70
Definition: vehicleproperty.h:289
ListPropertyType is a AbstractPropertyType for arrays of AbstractPropertyTypes.
Definition: abstractpropertytype.h:725
Corresponds with DBus Interface org.automotive.Horn.
Definition: ambdbusmappings.idl:242
Definition: picojson.h:1002
Mode
Definition: vehicleproperty.h:102
Corresponds with DBus Interface org.automotive.PowertrainTorque.
Definition: ambdbusmappings.idl:442
Definition: vehicleproperty.h:309
Definition: vehicleproperty.h:81
Corresponds with DBus Interface org.automotive.ConvertibleRoof.
Definition: ambdbusmappings.idl:740
Corresponds with DBus Interface org.automotive.RainSensor.
Definition: ambdbusmappings.idl:571
Corresponds with DBus Interface org.automotive.Defrost.
Definition: ambdbusmappings.idl:702
Definition: vehicleproperty.h:318
Definition: vehicleproperty.h:409
Corresponds with DBus Interface org.automotive.Chime.
Definition: ambdbusmappings.idl:468
std::function< AbstractPropertyType *(void)> PropertyTypeFactoryCallback
PropertyTypeFactoryCallback callback used to construct a AbstractPropertyType for a property...
Definition: vehicleproperty.h:425
Corresponds with DBus Interface org.automotive.OccupantStatus.
Definition: ambdbusmappings.idl:1334
Corresponds with DBus Interface org.automotive.VehicleSpeed.
Definition: ambdbusmappings.idl:16
Corresponds with DBus Interface org.automotive.DrivingMode.
Definition: ambdbusmappings.idl:423
Corresponds with DBus Interface org.automotive.YawRate.
Definition: ambdbusmappings.idl:513
Corresponds with DBus Interface org.automotive.Sunroof.
Definition: ambdbusmappings.idl:721
Corresponds with DBus Interface org.automotive.WindowStatus.
Definition: ambdbusmappings.idl:664
Corresponds with DBus Interface org.automotive.ExteriorBrightness.
Definition: ambdbusmappings.idl:539
Corresponds with DBus Interface org.automotive.EngineSpeed.
Definition: ambdbusmappings.idl:29
Definition: vehicleproperty.h:228
Corresponds with DBus Interface org.automotive.NightMode.
Definition: ambdbusmappings.idl:404
Corresponds with DBus Interface org.automotive.AcceleratorPedalPosition.
Definition: ambdbusmappings.idl:455
Definition: abstractpropertytype.h:440
Definition: vehicleproperty.h:350
Corresponds with DBus Interface org.automotive.AntilockBrakingSystem.
Definition: ambdbusmappings.idl:1177
Definition: vehicleproperty.h:274
static const Property NoValue
Various property types:
Definition: vehicleproperty.h:429
Definition: abstractpropertytype.h:634
Corresponds with DBus Interface org.automotive.VehiclePowerMode.
Definition: ambdbusmappings.idl:42
Definition: vehicleproperty.h:255
Corresponds with DBus Interface org.automotive.AtmosphericPressure.
Definition: ambdbusmappings.idl:759
Corresponds with DBus Interface org.automotive.VehicleType.
Definition: ambdbusmappings.idl:835
Corresponds with DBus Interface org.automotive.DoorStatus.
Definition: ambdbusmappings.idl:1271
Definition: vehicleproperty.h:201
Definition: vehicleproperty.h:266
Definition: vehicleproperty.h:144
Corresponds with DBus Interface org.automotive.ObstacleDistance.
Definition: ambdbusmappings.idl:1347
Definition: vehicleproperty.h:183
Corresponds with DBus Interface org.automotive.VehicleTopSpeedLimit.
Definition: ambdbusmappings.idl:1227
Corresponds with DBus Interface org.automotive.Odometer.
Definition: ambdbusmappings.idl:892
Definition: vehicleproperty.h:71