#include <packet.h>
Public Member Functions | |
uint16_t | getData () const |
Packet (const uint8_t &nbytes, const std::string &info) | |
void | setData (const uint16_t &d) |
void | setTempData (const uint16_t &td) |
void | validate () |
~Packet () | |
Public Attributes | |
const std::string | info |
const uint8_t | nbytes |
Private Attributes | |
uint16_t | data |
boost::mutex | dataMutex |
uint16_t | tmpData |
boost::mutex | tmpDataMutex |
create::Packet::Packet | ( | const uint8_t & | nbytes, |
const std::string & | info | ||
) |
Definition at line 5 of file packet.cpp.
Definition at line 11 of file packet.cpp.
uint16_t create::Packet::getData | ( | ) | const |
Definition at line 28 of file packet.cpp.
void create::Packet::setData | ( | const uint16_t & | d | ) |
Definition at line 23 of file packet.cpp.
void create::Packet::setTempData | ( | const uint16_t & | td | ) |
Definition at line 13 of file packet.cpp.
void create::Packet::validate | ( | ) |
Definition at line 18 of file packet.cpp.
uint16_t create::Packet::data [private] |
boost::mutex create::Packet::dataMutex [mutable, private] |
const std::string create::Packet::info |
const uint8_t create::Packet::nbytes |
uint16_t create::Packet::tmpData [private] |
boost::mutex create::Packet::tmpDataMutex [mutable, private] |