Class BaseInfoInterface

Inheritance Relationships

Derived Type

Class Documentation

class BaseInfoInterface

Subclassed by rosbag2_storage::storage_interfaces::ReadOnlyInterface

Public Functions

virtual ~BaseInfoInterface() = default
virtual BagMetadata get_metadata() = 0
virtual std::string get_relative_file_path() const = 0

Retrieves the relative path to the backing of the storage plugin.

Returns:

the relative path.

virtual uint64_t get_bagfile_size() const = 0

Returns the size of the bagfile.

Returns:

the size of the bagfile in bytes.

virtual std::string get_storage_identifier() const = 0

Returns the identifier for the storage plugin.

Returns:

the identifier.