Public Member Functions | Public Attributes | Private Attributes
create::Packet Class Reference

#include <packet.h>

List of all members.

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

Detailed Description

Definition at line 37 of file packet.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Definition at line 18 of file packet.cpp.


Member Data Documentation

uint16_t create::Packet::data [private]

Definition at line 39 of file packet.h.

boost::mutex create::Packet::dataMutex [mutable, private]

Definition at line 41 of file packet.h.

const std::string create::Packet::info

Definition at line 46 of file packet.h.

const uint8_t create::Packet::nbytes

Definition at line 45 of file packet.h.

uint16_t create::Packet::tmpData [private]

Definition at line 40 of file packet.h.

boost::mutex create::Packet::tmpDataMutex [mutable, private]

Definition at line 42 of file packet.h.


The documentation for this class was generated from the following files:


libcreate
Author(s): Jacob Perron
autogenerated on Sat Nov 26 2016 03:41:46