ITS
ParameterApplication.h
Go to the documentation of this file.
1 
2 #ifndef _ParameterApplication_H_
3 #define _ParameterApplication_H_
4 
5 #include <QMutex>
6 #include <api.h>
7 #include <Response.h>
8 
9 class ParameterApplication : public QObject
10 {
11 private:
12  CauseCode_t* m_causeCodeEmergency; /* OPTIONAL */
13  CauseCode_t* m_causeCodeSafety; /* OPTIONAL */
14  CauseCode_t* m_causeCodeStationary; /* OPTIONAL */
15  ClosedLanes_t* m_closedLanes; /* OPTIONAL */
20  bool m_itsGnIsMobile;
21  PtActivation_t* m_ptActivation; /* OPTIONAL */
23  SpeedLimit_t* m_speedLimit; /* OPTIONAL */
25  StationarySince_t* m_stationarySince; /* OPTIONAL */
28  TrafficRule_t* m_trafficRule; /* OPTIONAL */
31 
32 public:
34  ParameterApplication(QMutex* mutex);
36 
40  void read();
44  void readDebug();
45 
47 
48  /* Getters */
49  bool itsGnIsMobile() const {return m_itsGnIsMobile;}
50  StationID_t stationID() const {return m_stationID;}
62  SpeedLimit_t *speedLimit () const {return m_speedLimit;}
68 };
69 
70 #endif // _ParameterApplication_H_
StationarySince_t * stationarySince() const
BOOLEAN_t EmbarkationStatus_t
Usefull functions and declarations.
void read()
read Configuration file reading.
PtActivation_t * m_ptActivation
VehicleIdentification_t * m_vehicleIdentification
CauseCode_t * m_causeCodeEmergency
long RoadworksSubCauseCode_t
RoadworksSubCauseCode_t * roadworksSubCauseCode() const
unsigned long StationID_t
Definition: StationID.h:21
long DangerousGoodsBasic_t
DangerousGoodsExtended_t * dangerousGoodsExtended() const
SpecialTransportType_t m_specialTransportType
CauseCode_t * causeCodeEmergency() const
long StationarySince_t
EmergencyPriority_t * emergencyPriority() const
VehicleRole_t vehicleRole() const
long StationType_t
Definition: StationType.h:38
RoadworksSubCauseCode_t * m_roadworksSubCauseCode
ClosedLanes_t * closedLanes() const
VehicleIdentification_t * vehicleIdentification() const
ParameterApplication()
ParameterApplication ParameterApplication default constructor.
TrafficRule_t * trafficRule() const
CauseCode_t * m_causeCodeStationary
long TrafficRule_t
Definition: TrafficRule.h:32
void readDebug()
readDebug Configuration printing.
CauseCode_t * causeCodeStationary() const
SpecialTransportType_t specialTransportType() const
EmergencyPriority_t * m_emergencyPriority
PtActivation_t * ptActivation() const
CauseCode_t * m_causeCodeSafety
DangerousGoodsExtended_t * m_dangerousGoodsExtended
StationType_t stationType() const
ParameterApplication & operator=(const ParameterApplication &other)
operator= Affectation operator.
long SpeedLimit_t
Definition: SpeedLimit.h:26
long VehicleRole_t
Definition: VehicleRole.h:41
DangerousGoodsBasic_t dangerousGoodsBasic() const
DangerousGoodsBasic_t m_dangerousGoodsBasic
StationID_t stationID() const
TrafficRule_t * m_trafficRule
StationarySince_t * m_stationarySince
EmbarkationStatus_t m_embarkationStatus
SpeedLimit_t * speedLimit() const
ClosedLanes_t * m_closedLanes
~ParameterApplication()
~ParameterApplication ParameterApplication destructor.
CauseCode_t * causeCodeSafety() const
EmbarkationStatus_t embarkationStatus() const