ITS
|
#include <Facilities.h>
Public Slots | |
void | execute () |
execute Execute the CAM and DENM if needed. More... | |
void | getNetworkAndTransportLayerIndication () |
getNetworkAndTransportLayerIndication Slot used to receive payload. More... | |
Signals | |
void | utInit () |
utInit Signal used to send the UtInitialize primitive to the CA Basic Service and DEN Basic Service. More... | |
Public Member Functions | |
Facilities (Manager *man, GeoNet *geonet=0, bool cam=0, bool denm=0, bool bluetooth=false, bool ut=false, QMutex *mutex=0) | |
Facilities Facilities constructor. More... | |
void | utInitialize () |
utInitialize Initialize the Facilities layer. More... | |
Private Attributes | |
QUdpSocket * | udpSocket_ind |
GeoNet * | m_geonet |
FakeGPSProvider * | m_paramGPS |
ParameterConfiguration * | m_paramConf |
FakeApplicationProvider * | m_paramAppli |
FakeCANProvider * | m_paramCAN |
ParameterDENM * | m_paramDENM |
ParameterUpperTester * | m_paramUt |
ParameterNetwork * | m_paramNetwork |
bool | m_cam |
bool | m_denm |
bool | m_bluetooth |
bool | m_ut |
QMutex * | m_mutex |
QThread * | threadCA |
QThread * | threadDEN |
caBasicService * | m_caBasicService |
denBasicService * | m_denBasicService |
Definition at line 18 of file Facilities.h.
Facilities::Facilities | ( | Manager * | man, |
GeoNet * | geonet = 0 , |
||
bool | cam = 0 , |
||
bool | denm = 0 , |
||
bool | bluetooth = false , |
||
bool | ut = false , |
||
QMutex * | mutex = 0 |
||
) |
Facilities Facilities constructor.
man | Manager. |
geonet | N&T layer. |
cam | Is CAM used? |
denm | Is DENM used? |
bluetooth | Is Bluetooth used? |
ut | Is the UpperTester used? |
mutex | Mutex used for initialization. |
Definition at line 3 of file Facilities.cpp.
References Manager::hashMap, m_bluetooth, m_cam, m_denm, m_geonet, m_mutex, m_paramAppli, m_paramCAN, m_paramConf, m_paramDENM, m_paramGPS, m_paramNetwork, m_paramUt, and m_ut.
|
slot |
execute Execute the CAM and DENM if needed.
Definition at line 32 of file Facilities.cpp.
References m_caBasicService, m_cam, m_denBasicService, m_denm, m_geonet, m_mutex, m_paramAppli, m_paramCAN, m_paramConf, m_paramDENM, m_paramGPS, m_paramNetwork, m_ut, threadCA, and threadDEN.
|
slot |
getNetworkAndTransportLayerIndication Slot used to receive payload.
Definition at line 67 of file Facilities.cpp.
References split(), and udpSocket_ind.
|
signal |
utInit Signal used to send the UtInitialize primitive to the CA Basic Service and DEN Basic Service.
void Facilities::utInitialize | ( | ) |
utInitialize Initialize the Facilities layer.
Definition at line 94 of file Facilities.cpp.
References m_caBasicService, m_cam, m_denBasicService, m_denm, denBasicService::utInitialize(), and caBasicService::utInitialize().
Referenced by UpperTester::utInitialize().
|
private |
|
private |
CA Basic Service.
Definition at line 76 of file Facilities.h.
Referenced by execute(), and utInitialize().
|
private |
Is CAM used?
Definition at line 68 of file Facilities.h.
Referenced by execute(), Facilities(), and utInitialize().
|
private |
DEN Basic Service.
Definition at line 77 of file Facilities.h.
Referenced by execute(), and utInitialize().
|
private |
Is DENM used?
Definition at line 69 of file Facilities.h.
Referenced by execute(), Facilities(), and utInitialize().
|
private |
|
private |
Mutex used for initialization.
Definition at line 72 of file Facilities.h.
Referenced by execute(), and Facilities().
|
private |
Application configuration.
Definition at line 63 of file Facilities.h.
Referenced by execute(), and Facilities().
|
private |
|
private |
Global configuration.
Definition at line 62 of file Facilities.h.
Referenced by execute(), and Facilities().
|
private |
DENM configuration.
Definition at line 65 of file Facilities.h.
Referenced by execute(), and Facilities().
|
private |
|
private |
Network configuration.
Definition at line 67 of file Facilities.h.
Referenced by execute(), and Facilities().
|
private |
|
private |
Is the UpperTester used?
Definition at line 71 of file Facilities.h.
Referenced by execute(), and Facilities().
|
private |
Thread executin the CA Basic Service.
Definition at line 73 of file Facilities.h.
Referenced by execute().
|
private |
Thread executing the DEN Basic Service.
Definition at line 74 of file Facilities.h.
Referenced by execute().
|
private |
Socket used for indication purpose.
Definition at line 59 of file Facilities.h.
Referenced by getNetworkAndTransportLayerIndication().