#include <packet.h>
Public Member Functions | |
uint16_t | getData () const |
Packet (const uint8_t &nbytes, const std::string &info) | |
void | setDataToValidate (const uint16_t &td) |
void | validate () |
~Packet () | |
Public Attributes | |
const std::string | info |
const uint8_t | nbytes |
Protected Member Functions | |
void | setData (const uint16_t &d) |
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 | ) | [protected] |
Definition at line 23 of file packet.cpp.
void create::Packet::setDataToValidate | ( | 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] |