Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
create::Packet Class Reference

#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
 
std::mutex dataMutex
 
uint16_t tmpData
 
std::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 7 of file packet.cpp.

create::Packet::~Packet ( )

Definition at line 13 of file packet.cpp.

Member Function Documentation

uint16_t create::Packet::getData ( ) const

Definition at line 30 of file packet.cpp.

void create::Packet::setData ( const uint16_t &  d)
protected

Definition at line 25 of file packet.cpp.

void create::Packet::setDataToValidate ( const uint16_t &  td)

Definition at line 15 of file packet.cpp.

void create::Packet::validate ( )

Definition at line 20 of file packet.cpp.

Member Data Documentation

uint16_t create::Packet::data
private

Definition at line 39 of file packet.h.

std::mutex create::Packet::dataMutex
mutableprivate

Definition at line 41 of file packet.h.

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

Definition at line 50 of file packet.h.

const uint8_t create::Packet::nbytes

Definition at line 49 of file packet.h.

uint16_t create::Packet::tmpData
private

Definition at line 40 of file packet.h.

std::mutex create::Packet::tmpDataMutex
mutableprivate

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 May 8 2021 03:02:37