automotive-message-broker  0.14.803
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
parking.h
1 #ifndef _PARKING_H_
2 #define _PARKING_H_
3 
4 
5 #include "dbusplugin.h"
6 #include "abstractdbusinterface.h"
7 #include "abstractroutingengine.h"
8 
11 {
12 public:
13  ParkingBrakeProperty(VehicleProperty::Property, AbstractRoutingEngine* re, GDBusConnection* connection)
14  :DBusSink("ParkingBrake", re, connection, map<string, string>())
15  {
16  wantPropertyVariant(VehicleProperty::ParkingBrakeStatusW3C, "Status", VariantType::Read);
17  }
18 };
19 
22 {
23 public:
24  HazardLightProperty(VehicleProperty::Property, AbstractRoutingEngine* re, GDBusConnection* connection)
25  :DBusSink("HazardLight", re, connection, map<string, string>())
26  {
27  wantPropertyVariant(VehicleProperty::HazardLightStatus, "HazardLight", VariantType::ReadWrite);
28  }
29 };
30 
32 {
33 public:
34  LaneDepartureStatus(VehicleProperty::Property, AbstractRoutingEngine* re, GDBusConnection* connection)
35  :DBusSink("LaneDepartureDetection", re, connection, map<string, string>())
36  {
37  wantPropertyVariant(VehicleProperty::LaneDepartureStatus, "Status", VariantType::Read);
38  }
39 };
40 
41 class AlarmStatus: public DBusSink
42 {
43 public:
44  AlarmStatus(VehicleProperty::Property, AbstractRoutingEngine* re, GDBusConnection* connection)
45  :DBusSink("Alarm", re, connection, map<string, string>())
46  {
47  wantPropertyVariant(VehicleProperty::AlarmStatus, "Status", VariantType::ReadWrite);
48  }
49 };
50 
51 #endif