35 #include <boost/shared_ptr.hpp> 36 #include <boost/make_shared.hpp> 46 std::map<uint8_t, boost::shared_ptr<Packet> >
packets;
48 std::vector<uint8_t>
ids;
55 boost::shared_ptr<Packet>
getPacket(
const uint8_t
id);
63 #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)
boost::shared_ptr< Packet > getPacket(const uint8_t id)
std::vector< uint8_t > ids
std::map< uint8_t, boost::shared_ptr< Packet > > packets