|
ITS
|
#include <Manager.h>
Public Slots | |
| void | execute () |
| execute Slot used to be threadable. More... | |
| void | changeMID () |
| changeMID Slot used when need to change the MID. More... | |
Signals | |
| void | midToChange () |
| midToChange Signal used when need to change the MID. More... | |
Public Member Functions | |
| Manager (QMutex *mutex=nullptr, FakeGPSProvider *pGPS=nullptr, FakeCANProvider *pCAN=nullptr, ParameterDENM *pDENM=nullptr, FakeApplicationProvider *pAppli=nullptr, ParameterUpperTester *pUt=nullptr) | |
| Manager Manager constructor. More... | |
| ~Manager () | |
| void | updateGnAddr (uchar *mid) |
| updateGnAddr Update the GN-ADDR More... | |
Public Attributes | |
| QHash< QString, void * > | hashMap |
| Manager::Manager | ( | QMutex * | mutex = nullptr, |
| FakeGPSProvider * | pGPS = nullptr, |
||
| FakeCANProvider * | pCAN = nullptr, |
||
| ParameterDENM * | pDENM = nullptr, |
||
| FakeApplicationProvider * | pAppli = nullptr, |
||
| ParameterUpperTester * | pUt = nullptr |
||
| ) |
| mutex | Mutex used for initialization. |
| pGPS | FakeGPSProvider to store. |
| pCAN | FakeCANProvider to store. |
| pDENM | ParameterDENM to store. |
| pAppli | ParameterApplication to store. |
| pUt | ParameterUpperTester to store. |
Definition at line 3 of file Manager.cpp.
References changeMID(), ParameterConfiguration::countryCode(), FakeApplicationProvider::data(), hashMap, ParameterConfiguration::itsGnLocalAddrConfMethod(), ParameterConfiguration::itsGnSecurity(), m_gnA, m_mutex, m_paramAppli, m_paramCAN, m_paramConf, m_paramDENM, m_paramGPS, m_paramNetwork, m_paramSecurity, m_paramUpperTester, ParameterConfiguration::mid(), midToChange(), and ParameterApplication::stationType().
| Manager::~Manager | ( | ) |
~Manager Manager destructor.
Definition at line 49 of file Manager.cpp.
|
slot |
changeMID Slot used when need to change the MID.
TODO demander le nouveau MID à la couche sécu via un signal
Definition at line 57 of file Manager.cpp.
References ParameterConfiguration::itsGnLocalAddrConfMethod(), itsGnLocalAddrConfMethod_anonymous, itsGnLocalAddrConfMethod_auto, m_mutex, m_paramConf, ParameterConfiguration::mid(), and updateGnAddr().
Referenced by GeoNet::beaconPacketProcessing(), GeoNet::gacPacketProcessing(), GeoNet::gbcPacketProcessing(), GeoNet::gucPacketProcessing(), GeoNet::LSReplyPacketProcessing(), GeoNet::LSRequestPacketProcessing(), Manager(), GeoNet::shbPacketProcessing(), and GeoNet::tsbPacketProcessing().
|
slot |
execute Slot used to be threadable.
Definition at line 53 of file Manager.cpp.
|
signal |
midToChange Signal used when need to change the MID.
Referenced by Manager().
| void Manager::updateGnAddr | ( | uchar * | mid | ) |
updateGnAddr Update the GN-ADDR
| mid | The new MID to use. |
Definition at line 41 of file Manager.cpp.
References ParameterConfiguration::countryCode(), FakeApplicationProvider::data(), ParameterConfiguration::itsGnLocalAddrConfMethod(), m_gnA, m_paramAppli, m_paramConf, ParameterConfiguration::mid(), ParameterApplication::stationType(), and ParameterConfiguration::updateMID().
Referenced by changeMID(), and UpperTester::utInitialize().
| QHash<QString, void*> Manager::hashMap |
HashMap used to store the different used modules.
Definition at line 53 of file Manager.h.
Referenced by ApplicationManagement::ApplicationManagement(), Facilities::Facilities(), GeoNet::GeoNet(), GeoNet::InitRawSocket_send(), Manager(), SecurityManager::SecurityManager(), UpperTester::UpperTester(), UpperTester::utChangeCurvature(), UpperTester::utChangePseudonym(), UpperTester::utChangeYawRate(), UpperTester::utDenmTerminate(), UpperTester::utDenmTrigger(), UpperTester::utDenmUpdate(), UpperTester::utInitialize(), UpperTester::utSetAccelerationControlStatus(), UpperTester::utSetDangerousGoods(), UpperTester::utSetDriveDirection(), UpperTester::utSetEmbarkationStatus(), UpperTester::utSetExteriorLightsStatus(), UpperTester::utSetLightBarSiren(), UpperTester::utSetPtActivation(), UpperTester::utSetStationType(), and UpperTester::utSetVehicleRole().
|
private |
ITS-S GN-ADDR.
Definition at line 80 of file Manager.h.
Referenced by Manager(), and updateGnAddr().
|
private |
Mutex used for initialization.
Definition at line 81 of file Manager.h.
Referenced by changeMID(), and Manager().
|
private |
Application configuration.
Definition at line 74 of file Manager.h.
Referenced by Manager(), and updateGnAddr().
|
private |
|
private |
Global configuration.
Definition at line 75 of file Manager.h.
Referenced by changeMID(), Manager(), and updateGnAddr().
|
private |
|
private |
|
private |
|
private |
|
private |