45 std::map<uint8_t, std::shared_ptr<Packet> >
packets;
47 std::vector<uint8_t>
ids;
54 std::shared_ptr<Packet>
getPacket(
const uint8_t
id);
62 #endif // CREATE_DATA_H uint8_t getNumPackets() const
bool isValidPacketID(const uint8_t id) const
std::vector< uint8_t > getPacketIDs()
uint32_t getTotalDataBytes() const
Data(ProtocolVersion version=V_3)
std::shared_ptr< Packet > getPacket(const uint8_t id)
std::vector< uint8_t > ids
std::map< uint8_t, std::shared_ptr< Packet > > packets