ITS
|
#include <RepetitionPacketBuffer.h>
Public Slots | |
void | erase () |
erase Slot used to erase entry. More... | |
void | sendPacketIndication (gnDataRequest_t packet) |
sendPacketIndication Slot used to notify of sending packet. More... | |
Signals | |
void | sendPacketToGn (gnDataRequest_t packet) |
sendPacketToGn Signal used to send packet. More... | |
void | killAll () |
killAll Signal used to kill all the entries. More... | |
Public Member Functions | |
RepetitionPacketBuffer () | |
RepetitionPacketBuffer Default constructor. More... | |
void | addPacket (gnDataRequest_t gnDR) |
addPacket Add packet to the buffer. More... | |
void | clear () |
clear Clear the buffer. More... | |
Private Attributes | |
QMutex * | m_mutex |
QVector< RepetitionPacketEntry * > | m_repetitionPacketBuffer |
Definition at line 16 of file RepetitionPacketBuffer.h.
RepetitionPacketBuffer::RepetitionPacketBuffer | ( | ) |
RepetitionPacketBuffer Default constructor.
Definition at line 5 of file RepetitionPacketBuffer.cpp.
References m_mutex.
void RepetitionPacketBuffer::addPacket | ( | gnDataRequest_t | gnDR | ) |
addPacket Add packet to the buffer.
gnDR | The GN Data Request of the packet. |
Definition at line 10 of file RepetitionPacketBuffer.cpp.
References erase(), killAll(), m_mutex, m_repetitionPacketBuffer, gnDataRequest_s::maximumRepetitionTime, gnDataRequest_s::repetitionInterval, and sendPacketIndication().
Referenced by GeoNet::sendGAC(), GeoNet::sendGBC(), GeoNet::sendGUC(), GeoNet::sendSHB(), and GeoNet::sendTSB().
void RepetitionPacketBuffer::clear | ( | ) |
clear Clear the buffer.
Definition at line 33 of file RepetitionPacketBuffer.cpp.
References killAll(), m_mutex, and m_repetitionPacketBuffer.
Referenced by GeoNet::utInitialize().
|
slot |
erase Slot used to erase entry.
Definition at line 45 of file RepetitionPacketBuffer.cpp.
References m_mutex, and m_repetitionPacketBuffer.
Referenced by addPacket().
|
signal |
killAll Signal used to kill all the entries.
Referenced by addPacket(), and clear().
|
slot |
sendPacketIndication Slot used to notify of sending packet.
packet | The packet sent. |
Definition at line 59 of file RepetitionPacketBuffer.cpp.
References sendPacketToGn().
Referenced by addPacket().
|
signal |
sendPacketToGn Signal used to send packet.
packet | The GN Data Request used to send packet. |
Referenced by sendPacketIndication().
|
private |
Mutex used to llok at the buffer.
Definition at line 60 of file RepetitionPacketBuffer.h.
Referenced by addPacket(), clear(), erase(), and RepetitionPacketBuffer().
|
private |
The buffer.
Definition at line 61 of file RepetitionPacketBuffer.h.
Referenced by addPacket(), clear(), and erase().