SamplePacket Class Reference
Example for a packet class. More...
#include <samplePacket.hpp>
Public Member Functions | |
SamplePacket (const SamplePacket &p) | |
SamplePacket () | |
SamplePacket (void *data, uint16_t dataLen) | |
~SamplePacket () | |
void * | getData () |
uint16_t | getDataLen () |
void | setDataLen (uint16_t l) |
Detailed Description
Example for a packet class.
This class is meant to show, which functions are expected to be exposed by any packet class
Definition at line 12 of file samplePacket.hpp.
Constructor & Destructor Documentation
◆ SamplePacket() [1/3]
|
inline |
Definition at line 18 of file samplePacket.hpp.
◆ SamplePacket() [2/3]
|
inline |
Definition at line 19 of file samplePacket.hpp.
◆ SamplePacket() [3/3]
|
inline |
Definition at line 20 of file samplePacket.hpp.
◆ ~SamplePacket()
|
inline |
Definition at line 21 of file samplePacket.hpp.
Member Function Documentation
◆ getData()
|
inline |
Definition at line 23 of file samplePacket.hpp.
◆ getDataLen()
|
inline |
Definition at line 24 of file samplePacket.hpp.
◆ setDataLen()
|
inline |
Definition at line 25 of file samplePacket.hpp.
The documentation for this class was generated from the following file:
- /home/dominik/uni/MoonState/include/samplePacket.hpp