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

#include <data.h>

Public Member Functions

 Data (ProtocolVersion version=V_3)
 
uint8_t getNumPackets () const
 
boost::shared_ptr< PacketgetPacket (const uint8_t id)
 
std::vector< uint8_t > getPacketIDs ()
 
uint32_t getTotalDataBytes () const
 
bool isValidPacketID (const uint8_t id) const
 
void validateAll ()
 
 ~Data ()
 

Private Attributes

std::vector< uint8_t > ids
 
std::map< uint8_t, boost::shared_ptr< Packet > > packets
 
uint32_t totalDataBytes
 

Detailed Description

Definition at line 44 of file data.h.

Constructor & Destructor Documentation

create::Data::Data ( ProtocolVersion  version = V_3)

Definition at line 7 of file data.cpp.

create::Data::~Data ( )

Definition at line 56 of file data.cpp.

Member Function Documentation

uint8_t create::Data::getNumPackets ( ) const

Definition at line 84 of file data.cpp.

boost::shared_ptr< Packet > create::Data::getPacket ( const uint8_t  id)

Definition at line 65 of file data.cpp.

std::vector< uint8_t > create::Data::getPacketIDs ( )

Definition at line 88 of file data.cpp.

unsigned int create::Data::getTotalDataBytes ( ) const

Definition at line 80 of file data.cpp.

bool create::Data::isValidPacketID ( const uint8_t  id) const

Definition at line 58 of file data.cpp.

void create::Data::validateAll ( )

Definition at line 72 of file data.cpp.

Member Data Documentation

std::vector<uint8_t> create::Data::ids
private

Definition at line 48 of file data.h.

std::map<uint8_t, boost::shared_ptr<Packet> > create::Data::packets
private

Definition at line 46 of file data.h.

uint32_t create::Data::totalDataBytes
private

Definition at line 47 of file data.h.


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


libcreate
Author(s): Jacob Perron
autogenerated on Thu Dec 5 2019 04:03:13