pub struct RosBag { /* private fields */ }
Expand description
Open rosbag file.
Implementations§
source§impl RosBag
impl RosBag
sourcepub fn new<P: AsRef<Path>>(path: P) -> Result<Self>
pub fn new<P: AsRef<Path>>(path: P) -> Result<Self>
Create a new iterator over provided path to ROS bag file.
sourcepub fn get_conn_count(&self) -> u32
pub fn get_conn_count(&self) -> u32
Get connection count in this rosbag file.
sourcepub fn get_chunk_count(&self) -> u32
pub fn get_chunk_count(&self) -> u32
Get chunk count in this rosbag file.
sourcepub fn chunk_records(&self) -> ChunkRecordsIterator<'_> ⓘ
pub fn chunk_records(&self) -> ChunkRecordsIterator<'_> ⓘ
Get iterator over records in the chunk section.
sourcepub fn index_records(&self) -> IndexRecordsIterator<'_> ⓘ
pub fn index_records(&self) -> IndexRecordsIterator<'_> ⓘ
Get iterator over records in the index section.
Auto Trait Implementations§
impl Freeze for RosBag
impl RefUnwindSafe for RosBag
impl Send for RosBag
impl Sync for RosBag
impl Unpin for RosBag
impl UnwindSafe for RosBag
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more