Go to the documentation of this file.
35 #ifndef ROSBAG_MESSAGE_INSTANCE_H
36 #define ROSBAG_MESSAGE_INSTANCE_H
65 std::string
const& getTopic()
const;
66 std::string
const& getDataType()
const;
67 std::string
const& getMD5Sum()
const;
68 std::string
const& getMessageDefinition()
const;
72 std::string getCallerId()
const;
73 bool isLatching()
const;
90 template<
typename Stream>
94 uint32_t size()
const;
108 namespace message_traits {
130 namespace serialization
136 template<
typename Stream>
168 template<
typename Stream>
A class pointing into a bag file.
void write(Stream &stream) const
Write serialized message contents out to a stream.
boost::shared_ptr< T > instantiateBuffer(IndexEntry const &index_entry) const
deserializes the message held in record_buffer_
static void write(Stream &stream, const rosbag::MessageInstance &m)
static uint32_t serializedLength(const rosbag::MessageInstance &m)
std::string const & getMD5Sum() const
bool isType() const
Test whether the underlying message of the specified type.
static const char * value(const rosbag::MessageInstance &m)
static const char * value()
static const char * value(const rosbag::MessageInstance &m)
#define ROSBAG_STORAGE_DECL
static const char * value(const rosbag::MessageInstance &m)
uint32_t size() const
Size of serialized message.
const IndexEntry index_entry_
void readMessageDataIntoStream(IndexEntry const &index_entry, Stream &stream) const
std::string const & getMessageDefinition() const
boost::shared_ptr< T > instantiate() const
Templated call to instantiate a message.
std::string const & getDataType() const
rosbag_storage
Author(s): Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:52