ITS
BeaconPacket.h
Go to the documentation of this file.
1 
10 #ifndef BeaconPacket_H
11 #define BeaconPacket_H
12 
13 #include <QObject>
14 #include <LongPositionVector.h>
15 
17 {
18 public:
22  enum e_helper
23  {
25  };
26 
30  BeaconPacket();
40  BeaconPacket(const BeaconPacket& other);
44  ~BeaconPacket();
50  quint64 extract(uchar* packet);
51 
52  /* API */
57  QByteArray toHex();
58 
63  LongPositionVector soPv() const {return m_soPv;}
64 private:
66 };
67 
68 #endif // _BeaconPacket_H_
~BeaconPacket()
~BeaconPacket BeaconPacket destructor.
BeaconPacket()
BeaconPacket BeaconPacket constructor.
Definition: BeaconPacket.cpp:3
QByteArray toHex()
toHex Create a QByteArray containing the hexadecimal format of the BeaconPacket.
e_helper
The e_helper enum is used to help to have sizes.
Definition: BeaconPacket.h:22
quint64 extract(uchar *packet)
extract Extract Beacon from packet.
LPV definition.
LongPositionVector m_soPv
Definition: BeaconPacket.h:65
LongPositionVector soPv() const
soPv SO PV getter.
Definition: BeaconPacket.h:63