|
ITS
|
#include <LSRequestPacket.h>
Public Types | |
| enum | e_helper { helper_size = 4 + LongPositionVector::helper_size + 2 } |
| The e_helper enum is used to help to have sizes. More... | |
Public Types inherited from TSBPacket | |
| enum | e_helper { helper_size = 4 + LongPositionVector::helper_size } |
| The e_helper enum is used to help to have sizes. More... | |
Public Member Functions | |
| LSRequestPacket () | |
| LSRequestPacket LSRequestPacket constructor. More... | |
| LSRequestPacket (quint16 sequenceNumber, LongPositionVector lpv, GnAddr destination) | |
| LSRequestPacket LSRequestPacket initialization constructor. More... | |
| LSRequestPacket (const LSRequestPacket &other) | |
| LSRequestPacket LSRequestPacket copy constructor. More... | |
| ~LSRequestPacket () | |
| ~LSRequestPacket LSRequestPacket destructor. More... | |
| quint64 | extract (uchar *packet) |
| extract Extract GBC from packet. More... | |
| QByteArray | toHex () |
| toHex Create a QByteArray containing the hexadecimal format of the GBCPacket. More... | |
| GnAddr | destination () |
| destination Request GN_ADDR getter. More... | |
Public Member Functions inherited from TSBPacket | |
| TSBPacket () | |
| TSBPacket TSBPacket constructor. More... | |
| TSBPacket (quint16 sequenceNumber, LongPositionVector lpv) | |
| TSBPacket TSBPacket initialization constructor. More... | |
| TSBPacket (const TSBPacket &other) | |
| TSBPacket TSBPacket copy constructor. More... | |
| ~TSBPacket () | |
| ~TSBPacket The TSBPacket destructor. More... | |
| quint64 | extract (uchar *packet) |
| extract Extract GBC from packet. More... | |
| QByteArray | toHex () |
| toHex Create a QByteArray containing the hexadecimal format of the GBCPacket. More... | |
| quint16 | sequenceNumber () const |
| sequenceNumber TSB sequence number getter. More... | |
| LongPositionVector | soPv () const |
| soPv TSB SO PV getter. More... | |
| void | setSoPv (LongPositionVector lpv) |
| setSoPv TSB SO PV setter. More... | |
Private Attributes | |
| GnAddr | m_destination |
Additional Inherited Members | |
Protected Attributes inherited from TSBPacket | |
| quint16 | m_sequenceNumber |
| quint16 | m_reserved |
| LongPositionVector | m_soPv |
Definition at line 19 of file LSRequestPacket.h.
The e_helper enum is used to help to have sizes.
| Enumerator | |
|---|---|
| helper_size | Size of the LSRequest in bytes. |
Definition at line 25 of file LSRequestPacket.h.
| LSRequestPacket::LSRequestPacket | ( | ) |
LSRequestPacket LSRequestPacket constructor.
Definition at line 3 of file LSRequestPacket.cpp.
| LSRequestPacket::LSRequestPacket | ( | quint16 | sequenceNumber, |
| LongPositionVector | lpv, | ||
| GnAddr | destination | ||
| ) |
LSRequestPacket LSRequestPacket initialization constructor.
| sequenceNumber | The LS Request sequence number. |
| lpv | The LS Request SO PV. |
| destination | The LS Request requested GN_ADDR. |
Definition at line 7 of file LSRequestPacket.cpp.
References destination(), m_destination, TSBPacket::m_reserved, TSBPacket::m_sequenceNumber, TSBPacket::m_soPv, and TSBPacket::sequenceNumber().
| LSRequestPacket::LSRequestPacket | ( | const LSRequestPacket & | other | ) |
LSRequestPacket LSRequestPacket copy constructor.
| other | The LSRequestPacket to copy. |
Definition at line 15 of file LSRequestPacket.cpp.
References m_destination, TSBPacket::m_reserved, TSBPacket::m_sequenceNumber, and TSBPacket::m_soPv.
| LSRequestPacket::~LSRequestPacket | ( | ) |
~LSRequestPacket LSRequestPacket destructor.
Definition at line 23 of file LSRequestPacket.cpp.
|
inline |
destination Request GN_ADDR getter.
Definition at line 68 of file LSRequestPacket.h.
References m_destination.
Referenced by LSRequestPacket(), and GeoNet::LSRequestPacketProcessing().
| quint64 LSRequestPacket::extract | ( | uchar * | packet | ) |
extract Extract GBC from packet.
| packet | The packet to extract. |
Definition at line 27 of file LSRequestPacket.cpp.
References GnAddr::extract(), LongPositionVector::extract(), get_UINT16(), m_destination, TSBPacket::m_reserved, TSBPacket::m_sequenceNumber, and TSBPacket::m_soPv.
Referenced by GeoNet::LSRequestPacketProcessing().
| QByteArray LSRequestPacket::toHex | ( | ) |
toHex Create a QByteArray containing the hexadecimal format of the GBCPacket.
Definition at line 39 of file LSRequestPacket.cpp.
References LongPositionVector::helper_size, GnAddr::helper_size, m_destination, TSBPacket::m_reserved, TSBPacket::m_sequenceNumber, TSBPacket::m_soPv, LongPositionVector::toHex(), and GnAddr::toHex().
Referenced by GeoNet::LSRequestPacketProcessing().
|
private |
The requested GN_ADDR.
Definition at line 71 of file LSRequestPacket.h.
Referenced by destination(), extract(), LSRequestPacket(), and toHex().