7 #ifndef denReceptionManagement_H 8 #define denReceptionManagement_H 16 #include <QNetworkDatagram> 163 #endif // denReceptionManagement_H DENM configuration initializer.
void setSequenceNumberSlot(quint16)
setSequenceNumberSlot Slot used when a new sequenceNumber is made.
AppDenmIndication definition.
QMutex * m_mutexReception
Usefull functions and declarations.
void discardDENM(int index)
discardDENM Discard DENM from DEN Message Table Reception.
void AppDENM_negation(AppDenmTerminationData termination, ActionID_t actionID)
AppDENM_negation Negation of a DENM.
void utInitialize()
utInitialize Slot used to initialize the DEN Reception Management.
~denReceptionManagement()
void appendTriggeredDenm(denMessageTableSource *)
appendTriggeredDenm Signal used when a DENM is appended to the set DEN Message Table Source...
FakeApplicationProvider * m_paramAppli
ParameterConfiguration * m_paramConf
FakeCANProvider * m_paramCan
ParameterDENM * m_paramDENM
AppDenmTrigger definition.
QUdpSocket * m_internalSocket
Primitives message types definition.
denReceptionManagement(FakeGPSProvider *gps, FakeApplicationProvider *appli, ParameterDENM *denm, GeoNet *gn, ParameterConfiguration *conf, FakeCANProvider *can, ParameterNetwork *network)
denReceptionManagement denReceptionManagement constructor.
enum AppDenmResultData::failureNotification_enum e_failureNotification
The e_failureNotification enum defines the success or failure code.
DEN Message Table Reception.
Constantes used everywhere.
void discardDENMFromReceivedTable(ActionID_t)
discardDENMFromReceivedTable Slot used when a DENM is discarded from Received Table.
AppDenmTerminationIndication definition.
void killReceptionThreads()
killReceptionThreads Kills active threads.
void setSequenceNumberSignal(quint16)
setSequenceNumberSignal Signal used when a new sequenceNumber is set.
void kaf(DENM_t *)
kaf Signal used to invoke KAF.
SequenceNumber_t m_sequenceNumber
bool PassDenmToNetworkAndTransportLayerTrigger(AppDenmTriggerData data, char *msg, int denmLength)
PassDenmToNetworkAndTransportLayerTrigger Pass the response DENM to the N&T layer.
void denmReception(DENM_t *)
denmReception Reception of a DENM.
void decodeDenm(QByteArray data)
decodeDenm Decode DENM.
DEN Message Table Source.
API used by the DEN Basic Service.
void AppDENM_result(ActionID_t actionID, bool success, AppDenmResultData::e_failureNotification failureNotification, DENM_t *denm)
AppDENM_result Notification to the Application layer of the success of DENM sent. ...
FakeGPSProvider * m_paramGPS
void readDatagram()
readDatagram Slot used to receive DENM.
QVector< denMessageTableReception * > m_receivedDENM
void sendRequestResponseIndication_Response(SituationContainer_t *s, ActionID_t originatingActionID)
sendRequestResponseIndication_Response Sends a RequestResponIndication DENM of type Response when a D...
void setSequenceNumber(SequenceNumber_t s)
setSequenceNumber Set the local sequenceNumber
void appDenmResult(QByteArray)
appDenmResult Signal used when notification is made to the Application layer.