Class RosbagV2Storage

Inheritance Relationships

Base Type

  • public rosbag2_storage::storage_interfaces::ReadOnlyInterface

Class Documentation

class RosbagV2Storage : public rosbag2_storage::storage_interfaces::ReadOnlyInterface

Public Functions

RosbagV2Storage()
~RosbagV2Storage() override
void open(const rosbag2_storage::StorageOptions &storage_options, rosbag2_storage::storage_interfaces::IOFlag flag) override
bool has_next() override
std::shared_ptr<rosbag2_storage::SerializedBagMessage> read_next() override
std::vector<rosbag2_storage::TopicMetadata> get_all_topics_and_types() override
rosbag2_storage::BagMetadata get_metadata() override
uint64_t get_bagfile_size() const override
std::string get_relative_file_path() const override
std::string get_storage_identifier() const override

Returns the identifier for the rosbag_v2 plugin.

Returns:

the identifier “rosbag_v2”

void set_filter(const rosbag2_storage::StorageFilter &storage_filter) override
void reset_filter() override