Struct CompressionOptions
Defined in File compression_options.hpp
Struct Documentation
-
struct CompressionOptions
Compression options used in the writer which are passed down from the CLI in rosbag2_transport.
Public Members
-
std::string compression_format = {}
-
CompressionMode compression_mode = {CompressionMode::NONE}
-
uint64_t compression_queue_size = {0}
-
uint64_t compression_threads = {0}
// The number of compression threads
-
std::optional<int32_t> thread_priority
If set, the compression thread(s) will try to set the given priority for itself For Windows the valid values are: THREAD_PRIORITY_LOWEST=-2, THREAD_PRIORITY_BELOW_NORMAL=-1 and THREAD_PRIORITY_NORMAL=0. For POSIX compatible OSes this is the “nice” value. The nice value range is -20 to +19 where -20 is highest, 0 default and +19 is lowest.
-
std::string compression_format = {}