|
ITS
|
#include <SHBPacket.h>
Public Types | |
| enum | e_helper { helper_size = LongPositionVector::helper_size + 4 } |
| The e_helper enum is used to help to have sizes. More... | |
Public Member Functions | |
| SHBPacket () | |
| SHBPacket SHBPacket constructor. More... | |
| SHBPacket (LongPositionVector lpv) | |
| SHBPacket SHBPacket initialization constructor. More... | |
| SHBPacket (const SHBPacket &other) | |
| SHBPacket SHBPacket copy constructor. More... | |
| ~SHBPacket () | |
| ~SHBPacket SHBPacket destructor. More... | |
| quint64 | extract (uchar *packet) |
| extract Extract GBC from packet. More... | |
| QByteArray | toHex () |
| toHex Create a QByteArray containing the hexadecimal format of the SHBPacket. More... | |
| LongPositionVector | soPv () const |
| soPv SHB SO PV getter. More... | |
| void | setSoPv (LongPositionVector lpv) |
| setSoPv SHB SO PV setter. More... | |
Private Attributes | |
| LongPositionVector | m_soPv |
| quint32 | m_reserved |
Definition at line 19 of file SHBPacket.h.
| enum SHBPacket::e_helper |
The e_helper enum is used to help to have sizes.
| Enumerator | |
|---|---|
| helper_size | Size of the SHB in bytes. |
Definition at line 25 of file SHBPacket.h.
| SHBPacket::SHBPacket | ( | ) |
| SHBPacket::SHBPacket | ( | LongPositionVector | lpv | ) |
SHBPacket SHBPacket initialization constructor.
| lpv | The SO PV. |
Definition at line 8 of file SHBPacket.cpp.
References m_reserved, and m_soPv.
| SHBPacket::SHBPacket | ( | const SHBPacket & | other | ) |
SHBPacket SHBPacket copy constructor.
| other | The SHBPacket to copy. |
Definition at line 14 of file SHBPacket.cpp.
References m_reserved, m_soPv, and soPv().
| SHBPacket::~SHBPacket | ( | ) |
~SHBPacket SHBPacket destructor.
Definition at line 21 of file SHBPacket.cpp.
| quint64 SHBPacket::extract | ( | uchar * | packet | ) |
extract Extract GBC from packet.
| packet | The packet to extract. |
Definition at line 25 of file SHBPacket.cpp.
References LongPositionVector::extract(), get_UINT32(), m_reserved, and m_soPv.
Referenced by GeoNet::shbPacketProcessing().
|
inline |
setSoPv SHB SO PV setter.
| lpv | The new SO PV. |
Definition at line 71 of file SHBPacket.h.
References m_soPv.
Referenced by BroadcastForwardingPacketEntry::updateSourcePacketSoPv().
|
inline |
soPv SHB SO PV getter.
Definition at line 66 of file SHBPacket.h.
References m_soPv.
Referenced by HistoryPacketBuffer::addPacket(), BroadcastForwardingPacketBuffer::isDuplicateTimestamp(), HistoryPacketBuffer::isDuplicateTimestamp(), BroadcastForwardingPacketEntry::operator==(), PacketBuffersEntry::operator==(), SHBPacket(), GeoNet::shbPacketProcessing(), and BroadcastForwardingPacketEntry::updateSourcePacketSoPv().
| QByteArray SHBPacket::toHex | ( | ) |
toHex Create a QByteArray containing the hexadecimal format of the SHBPacket.
Definition at line 35 of file SHBPacket.cpp.
References LongPositionVector::helper_size, m_reserved, m_soPv, and LongPositionVector::toHex().
|
private |
SHB reserved field.
Definition at line 75 of file SHBPacket.h.
Referenced by extract(), SHBPacket(), and toHex().
|
private |
SHB SO PV.
Definition at line 74 of file SHBPacket.h.
Referenced by extract(), setSoPv(), SHBPacket(), soPv(), and toHex().