#include <data.h>
Public Member Functions | |
Data (ProtocolVersion version=V_3) | |
uint8_t | getNumPackets () const |
boost::shared_ptr< Packet > | getPacket (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 |
create::Data::Data | ( | ProtocolVersion | version = V_3 | ) |
uint8_t create::Data::getNumPackets | ( | ) | const |
boost::shared_ptr< Packet > create::Data::getPacket | ( | const uint8_t | id | ) |
std::vector< uint8_t > create::Data::getPacketIDs | ( | ) |
unsigned int create::Data::getTotalDataBytes | ( | ) | const |
bool create::Data::isValidPacketID | ( | const uint8_t | id | ) | const |
void create::Data::validateAll | ( | ) |
std::vector<uint8_t> create::Data::ids [private] |
std::map<uint8_t, boost::shared_ptr<Packet> > create::Data::packets [private] |
uint32_t create::Data::totalDataBytes [private] |