BroadcastForwardingPacketBuffer()
BroadcastForwardingPacketBuffer Default constructor.
QVector< BroadcastForwardingPacketEntry > m_bcForwardPacketBuffer
LongPositionVector soPv() const
soPv TSB SO PV getter.
LongPositionVector soPv() const
soPv SO PV getter.
quint32 timestamp() const
timestamp Timestamp field getter
quint16 sequenceNumber() const
sequenceNumber Sequence number getter.
bool isDuplicatePacketDetectionTimestampSN(quint32 lastReceivedTimestamp, quint32 nowReceivedTimestamp, quint16 lastReceivedSN, quint16 nowReceivedSN)
isDuplicatePacketDetectionTimestamp Calculate if the packet is a duplicate using the timestamp and th...
static int nbBCForwardingPacketQueued
void addPacket(BasicHeader bh, CommonHeader ch, GACPacket packet, QByteArray payload, QByteArray sender, uchar *destination, uchar *forwarder)
addPacket Add packet to the buffer.
#define itsGnBcForwardingPacketBufferSize
Buffer used for broadcast forwarding.
quint16 sequenceNumber() const
sequenceNumber TSB sequence number getter.
void clear()
clear Clear the buffer.
bool isDuplicateTimestamp(GACPacket packet)
isDuplicateTimestamp Check is the packet is duplicate.
bool isDuplicatePacketDetectionTimestamp(quint32 lastReceivedTimestamp, quint32 nowReceivedTimestamp)
isDuplicatePacketDetectionTimestamp Calculate if the packet is a duplicate using the timestamp of the...
LongPositionVector soPv() const
soPv SHB SO PV getter.