automotive-message-broker  0.12
 All Classes Pages
/home/tripzero/src/automotive-message-broker/docs/amb.idl
1 
10 union Variant {
11  UInt8 uint8
12  Int8 int8
13  UInt16 uint16
14  Int16 int16
15  UInt32 uint32
16  Int32 int32
17  UInt32 uin32
18  Int64 int64
19  UInt64 uint64
20  Boolean boolean
21  Float float
22  Double double
23  String string
24  ByteBuffer bytebuffer
25 }
26 
30 map Dictionary {
31  String to Variant
32 }
33 
38 interface VehiclePropertyType {
39 
43  attribute Double Time readonly
44 
48  attribute Zone Zone readonly
49 
56  method GetHistory(Double beginTime, Double endTime) {
57  out{ Dictionary result}
58  }
59 }
60 
61 enumeration Zone {
62  None = 0,
63  Front = 1,
64  Middle = 1 << 1,
65  Right = 1 << 2,
66  Left = 1 << 3,
67  Rear = 1 << 4,
68  Center = 1 << 5
69 }
70 
77 interface org.automotive.Manager {
78 
82  method List {
83  out { String[] }
84  }
85 
98  method FindObject {
99  in {
100  String objectName
101  }
102  out {
103  String[] objectPaths
104  }
105  }
106 
115  method FindObjectForZone {
116  in {
117  String objectName
118  Zone zone
119  }
120  out {
121  String objectPath
122  }
123  }
124 
131  method ZonesForObjectName {
132  in {
133  String objectName
134  }
135  out {
136  UInt32[] zones
137  }
138  }
139 
140 }
141 
146 interface org.automotive.VehicleSpeed extends VehiclePropertyType {
147 
151  attribute UInt16 Speed readonly
152 }
153 
158 interface org.automotive.EngineSpeed extends VehiclePropertyType {
159 
163  attribute UInt16 Speed readonly
164 }
165 
166 enumeration PowerMode {
167  Off = 0
168  Accessory1 = 1
169  Accessory2 = 2
170  Run = 3
171 }
172 
173 interface org.automotive.VehiclePowerMode extends VehiclePropertyType {
174 
178  attribute PowerMode VehiclePowerMode readonly
179 }
180 
185 interface org.automotive.TripMeter extends VehiclePropertyType {
186 
190  attribute UInt16[] TripMeters
191 }
192 
197 interface org.automotive.Acceleration extends VehiclePropertyType {
198 
202  attribute UInt16 X readonly
203 
207  attribute UInt16 Y readonly
208 
212  attribute UInt16 Z readonly
213 }
214 
215 enumeration TransmissionMode {
216  park = "park",
217  reverse = "reverse",
218  neutral = "neutral",
219  low = "low",
220  drive = "drive",
221  overdrive = "overdrive"
222 }
223 
227 enumeration TransmissionPosition {
228  Neutral = 0,
229  First = 1,
230  Second = 2,
231  Third = 3,
232  Fourth = 4,
233  Fifth = 5,
234  Sixth = 6,
235  Seventh = 7,
236  Eighth = 8,
237  Ninth = 9,
238  Tenth = 10,
239  Cvt = 64,
240  Reverse = 128,
241  Park = 255
242 }
243 
247 enumeration TransmissionGearType
248 {
249  Auto = 0,
250  Manual = 1,
251  CVT = 2
252 }
253 
254 interface org.automotive.Transmission extends VehiclePropertyType {
258  attribute TransmissionPosition GearPosition readonly
259 
264  attribute TransmissionGearType Type;
265 
269  attribute UInt8 Gear readonly
270 
274  attribute TransmissionMode Mode readonly
275 }
276 
277 
278 interface org.automotive.CruiseControlStatus extends VehiclePropertyType {
279 
283  attribute Boolean Activated readonly
284 
288  attribute UInt16 Speed readonly
289 }
290 
294 interface org.automotive.WheelBrake extends VehiclePropertyType {
295 
299  attribute Boolean Engaged readonly
300 }
301 
302 interface org.automotive.BrakeOperation extends VehiclePropertyType {
303 
307  attribute Boolean BrakePedalDepressed readonly
308 }
309 
310 interface org.automotive.LightStatus extends VehiclePropertyType {
311 
315  attribute Boolean Head readonly
316 
320  attribute Boolean RightTurn readonly
321 
325  attribute Boolean LeftTurn readonly
326 
330  attribute Boolean Brake readonly
331 
335  attribute Boolean Fog readonly
336 
340  attribute Boolean Hazard readonly
341 
345  attribute Boolean Parking readonly
346 
350  attribute Boolean HighBeam readonly
351 
355  attribute Boolean AutomaticHeadlights readonly
356 
360  attribute Boolean DynamicHighBeam readonly
361 }
362 
363 
364 interface org.automotive.InteriorLightStatus extends VehiclePropertyType {
365 
369  attribute Boolean Passenger readonly
370 
374  attribute Boolean Driver readonly
375 
379  attribute Boolean Center readonly
380 }
381 
382 
383 interface org.automotive.Horn extends VehiclePropertyType {
384 
388  attribute Boolean On readonly
389 }
390 
391 
392 interface org.automotive.Fuel extends VehiclePropertyType {
393 
397  attribute UInt16 Level readonly
398 
402  attribute UInt32 Range readonly
403 
407  attribute UInt32 InstantConsumption readonly
408 
412  attribute UInt16 InstantEconomy readonly
413 
417  attribute UInt16 AverageEconomy;
418 
422  attribute UInt32 AverageConsumption;
423 
427  attribute UInt32 FuelConsumedSinceRestart readonly;
428 
432  attribute UInt32 FuelConsumedSinceRestart readonly;
433 }
434 
435 
436 interface org.automotive.EngineOil extends VehiclePropertyType {
437 
441  attribute UInt16 Remaining readonly
442 
446  attribute long Temperature readonly
447 
451  attribute UInt16 Pressure readonly
452 }
453 
454 
455 interface org.automotive.Location extends VehiclePropertyType {
456 
460  attribute Double Latitude readonly
461 
465  attribute Double Longitude readonly
466 
470  attribute Double Altitude readonly
471 
475  attribute UInt16 Direction readonly
476 }
477 
478 
479 interface org.automotive.ExteriorBrightness extends VehiclePropertyType {
480 
484  attribute UInt16 ExteriorBrightness readonly
485 }
486 
487 
488 interface org.automotive.Temperature extends VehiclePropertyType {
489 
493  attribute signed short Interior readonly
495 
499  attribute signed short Exterior readonly
501 
505  attribute signed short InteriorTemperature readonly
506 
510  attribute signed short ExteriorTemperature readonly
511 }
512 
513 
514 interface org.automotive.RainSensor extends VehiclePropertyType {
515 
519  attribute UInt16 RainSensor readonly
520 }
521 
522 
523 interface org.automotive.WindshieldWiper extends VehiclePropertyType {
524  const UInt16 WIPERSPEED_OFF = 0;
525  const UInt16 WIPERSPEED_SLOWEST= 1;
526  const UInt16 WIPERSPEED_FASTEST = 5;
527  const UInt16 WIPERSPEED_AUTO = 10;
528 
532  attribute UInt16 WindshieldWiper readonly
533 }
534 
537 interface org.automotive.HVAC extends VehiclePropertyType {
538  const UInt16 AIRFLOWDIRECTION_FRONTPANEL = 0;
539  const UInt16 AIRFLOWDIRECTION_FLOORDUCT= 1;
540  const UInt16 AIRFLOWDIRECTION_FRONT = 0x02;
541  const UInt16 AIRFLOWDIRECTION_DEFROSTER = 0x04;
542 
546  attribute UInt16 AirflowDirection;
547 
551  attribute UInt16 FanSpeed;
552 
556  attribute UInt16 TargetTemperature;
557 
561  attribute Boolean AirConditioning;
562 
566  attribute Boolean AirRecirculation;
567 
571  attribute Boolean Heater;
572 
576  attribute Boolean SteeringWheelHeater;
577 
581  attribute UInt16 SeatHeater;
582 
586  attribute Boolean SeatCooler;
587 }
588 
589 enumeration AirflowDirectionType
590 {
591  frontpanel = "frontpanel",
592  floorduct = "floorduct",
593  bilevel = "bilevel",
594  defrostfloor = "defrostfloor"
595 }
596 
597 interface org.automotive.ClimateControl extends VehiclePropertyType {
601  attribute AirflowDirectionType AirflowDirection;
602 
606  attribute UInt8 FanSpeedLevel;
607 
611  attribute Int8 TargetTemperature;
612 
616  attribute Boolean AirConditioning;
617 
621  attribute Boolean Heater;
622 
626  attribute UInt8 SeatHeater;
627 
631  attribute UInt8 SeatCooler;
632 
636  attribute Boolean AirRecirculation;
637 
641  attribute UInt8 SteeringWheelHeater;
642 }
643 
644 interface org.automotive.WindowStatus extends VehiclePropertyType {
645 
650  attribute UInt16 Openness;
651 
656  attribute Boolean Defrost;
657 }
658 
659 interface org.automotive.Defrost extends VehiclePropertyType {
660 
665  attribute Boolean DefrostWindow;
666 
671  attribute Boolean DefrostMirrors;
672 }
673 
674 interface org.automotive.Sunroof extends VehiclePropertyType {
675 
679  attribute UInt16 Openness;
680 
684  attribute UInt16 Tilt;
685 }
686 
687 
688 interface org.automotive.ConvertibleRoof extends VehiclePropertyType {
689 
693  attribute UInt16 Openness;
694 }
695 
696 
697 interface org.automotive.VehicleId extends VehiclePropertyType {
698 
703  attribute String WMI readonly
704 
708  attribute String VIN readonly
709 }
710 
711 
712 interface org.automotive.Size extends VehiclePropertyType {
713 
717  attribute UInt16 Width readonly
718 
722  attribute UInt16 Height readonly
723 
727  attribute UInt16 Length readonly
728 }
729 
730 
731 interface org.automotive.FuelInfo extends VehiclePropertyType {
732  const UInt16 FUELTYPE_GASOLINE = 0;
733  const UInt16 FUELTYPE_HIGH_OCTANE= 1;
734  const UInt16 FUELTYPE_DIESEL = 2;
735  const UInt16 FUELTYPE_ELECTRIC = 3;
736  const UInt16 FUELTYPE_HYDROGEN = 4;
737  const UInt16 REFUELPOSITION_LEFT = 0;
738  const UInt16 REFUELPOSITION_RIGHT= 1;
739  const UInt16 REFUELPOSITION_FRONT = 2;
740  const UInt16 REFUELPOSITION_REAR = 3;
741 
745  attribute UInt16 Type readonly
746 
750  attribute UInt16 RefuelPosition readonly
751 }
752 
753 
754 interface org.automotive.VehicleType extends VehiclePropertyType {
755  const UInt16 VEHICLETYPE_SEDAN = 0;
756  const UInt16 VEHICLETYPE_COUPE= 1;
757  const UInt16 VEHICLETYPE_CABRIOLE = 2;
758  const UInt16 VEHICLETYPE_ROADSTER = 3;
759  const UInt16 VEHICLETYPE_SUV = 4;
760  const UInt16 VEHICLETYPE_TRUCK = 5;
761 
765  attribute UInt16 Type readonly
766 }
767 
768 
769 interface org.automotive.Doors extends VehiclePropertyType {
770 
777  attribute Array<UInt16> DoorsPerRow readonly
778 }
779 
780 
781 interface org.automotive.WheelInformation extends VehiclePropertyType {
782 
786  attribute UInt16 FrontWheelRadius readonly
787 
791  attribute UInt16 RearWheelRadius readonly
792 
796  attribute UInt16 WheelTrack readonly
797 
801  attribute Boolean ABS readonly
802 }
803 
804 
805 interface org.automotive.Odometer extends VehiclePropertyType {
806 
810  attribute UInt32 Odometer readonly
812 
816  attribute UInt32 DistanceTotal readonly
817 
821  attribute UInt32 DistanceSinceStart readonly
822 
823 }
824 
825 
826 interface org.automotive.Fluid extends VehiclePropertyType {
827 
831  attribute UInt16 Transmission readonly
832 
836  attribute UInt16 Brake readonly
837 
841  attribute UInt16 Washer readonly
842 }
843 
845 interface org.automotive.Battery extends VehiclePropertyType {
846 
850  attribute Double Voltage readonly
851 
855  attribute Double Current readonly
856 }
857 
858 interface org.automotive.BatteryStatus extends VehiclePropertyType {
859 
863  attribute UInt8 Voltage readonly
864 
868  attribute UInt8 Current readonly
869 
873  attribute UInt8 ChargeLevel readonly
874 }
875 
876 
877 interface org.automotive.Tire extends VehiclePropertyType {
878 
882  attribute UInt16 Pressure readonly
883 
887  attribute Int16 Temperature readonly
888 
892  attribute Boolean PressureLow readonly
893 }
894 
895 
896 interface org.automotive.SecurityAlert extends VehiclePropertyType {
897 
901  attribute Boolean SecurityAlert readonly
902 }
903 
905 interface org.automotive.ParkingBrake extends VehiclePropertyType {
906 
910  attribute Boolean ParkingBrake readonly
911 }
912 
914 interface org.automotive.ParkingLight extends VehiclePropertyType {
915 
919  attribute Boolean ParkingLight readonly
920 }
921 
923 interface org.automotive.HazardLight extends VehiclePropertyType {
924 
928  attribute Boolean HazardLight readonly
929 }
930 
931 
932 interface org.automotive.AntilockBrakingSystem extends VehiclePropertyType {
933 
937  attribute Boolean AntilockBrakingSystem readonly
938 }
939 
940 
941 interface org.automotive.TractionControlSystem extends VehiclePropertyType {
942 
946  attribute Boolean TractionControlSystem readonly
947 }
948 
949 
950 interface org.automotive.VehicleTopSpeedLimit extends VehiclePropertyType {
951 
955  attribute UInt16 VehicleTopSpeedLimit readonly
956 }
957 
958 
959 interface org.automotive.AirbagStatus extends VehiclePropertyType {
960 
961  const UInt16 AIRBAGSTATUS_INACTIVE = 0;
962  const UInt16 AIRBAGSTATUS_ACTIVE = 1;
963  const UInt16 AIRBAGSTATUS_DEPLOYED = 2;
964 
968  attribute UInt16 AirbagStatus readonly
969 }
970 
971 enumeration AirbagStatus {
972  inactive = 0,
973  active = 1,
974  deployed = 2
975 }
976 
980 interface org.automotive.DoorStatus extends VehiclePropertyType {
981 
982 
983 
990  attribute UInt16 DoorStatus readonly
991 
995  attribute Boolean DoorLockStatus;
996 
1002  attribute Boolean ChildLockStatus;
1003 }
1004 
1005 enumeration DoorStatus {
1006  open = "open",
1007  ajar = "ajar",
1008  closed = "closed"
1009 }
1010 
1011 interface org.automotive.Door extends VehiclePropertyType {
1012 
1016  attribute DoorStatus Status readonly
1017 
1021  attribute Boolean Lock;
1022 
1028  attribute Boolean ChildLock;
1029 }
1030 
1031 
1032 interface org.automotive.SeatBelt extends VehiclePropertyType {
1033 
1037  attribute Boolean Status readonly
1038 }
1039 
1040 
1041 interface org.automotive.OccupantStatus extends VehiclePropertyType {
1042 
1046  attribute UInt16 OccupantStatus readonly
1047 }
1048 
1049 
1050 interface org.automotive.ObstacleDistance extends VehiclePropertyType {
1051 
1055  attribute Double ObstacleDistance readonly
1056 }
1057 
1058 
1059 interface org.automotive.NightMode extends VehiclePropertyType {
1060 
1065  attribute Boolean NightMode readonly
1066 
1070  attribute Boolean Mode readonly
1071 }
1072 
1073 
1074 interface org.automotive.DrivingMode extends VehiclePropertyType {
1075 
1079  attribute UInt16 DrivingMode readonly
1080 
1084  attribute Boolean Mode readonly
1085 }
1086 
1087 
1088 interface org.automotive.KeyId extends VehiclePropertyType {
1089 
1093  attribute String KeyId readonly
1094 }
1095 
1096 interface org.automotive.Language extends VehiclePropertyType {
1097 
1101  attribute String Language readonly
1102 }
1103 
1104 
1105 interface org.automotive.MeasurementSystem extends VehiclePropertyType {
1106 
1110  attribute UInt16 MeasurementSystem readonly
1111 }
1112 
1113 
1114 interface org.automotive.MirrorSetting extends VehiclePropertyType {
1115 
1119  attribute UInt16 Pan readonly
1120  attribute UInt16 Tilt readonly
1121 }
1122 
1123 
1124 interface org.automotive.SeatPosition extends VehiclePropertyType {
1125 
1129  attribute UInt16 Recline readonly
1130 
1134  attribute UInt16 Slide readonly
1135 
1139  attribute UInt16 CushionHeight readonly
1140 
1144  attribute UInt16 Headrest readonly
1145 
1149  attribute UInt16 BackCushion readonly
1150 
1154  attribute UInt16 SideCushion readonly
1155 }
1156 
1157 
1158 interface org.automotive.SteeringWheelPosition extends VehiclePropertyType {
1159 
1163  attribute UInt16 Tilt readonly
1164 
1168  attribute UInt16 Slide readonly
1169 }
1170 
1171 
1172 interface org.automotive.DashboardIllumination extends VehiclePropertyType {
1173 
1177  attribute UInt16 DashboardIllumination readonly
1178 }
1179 
1180 
1181 interface org.automotive.GeneratedVehicleSoundMode extends VehiclePropertyType {
1182 
1186  attribute UInt16 GeneratedVehicleSoundMode readonly
1187 }
1188 
1189 
1194 interface org.automotive.SteeringWheelAngle extends VehiclePropertyType {
1195 
1199  attribute UInt16 SteeringWheelAngle readonly
1200 }
1201 
1202 interface org.automotive.SteeringWheel extends VehiclePropertyType {
1203 
1207  attribute Int16 Angle readonly
1208 }
1209 
1210 
1211 interface org.automotive.ButtoneEvent extends VehiclePropertyType {
1212 
1230  attribute UInt32 ButtonEvent readonly
1231 }
1232 
1233 
1234 interface org.automotive.DriverId extends VehiclePropertyType {
1235 
1240  attribute String DriverId readonly
1241 }
1242 
1243 interface org.automotive.ThrottlePosition extends VehiclePropertyType {
1244 
1248  attribute Uint8 Value readonly
1249 }
1250 
1251 interface org.automotive.EngineCoolant extends VehiclePropertyType {
1252 
1256  attribute Uint8 Level readonly
1257 
1261  attribute Uint8 Temperature readonly
1262 }
1263 
1264 }
1265 
Definition: amb.idl:10