Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
rosbag_fancy::BagReader::ChunkIterator Class Reference

#include <bag_reader.h>

Classes

class  Private
 

Public Types

using iterator_category = std::input_iterator_tag
 
using pointer = const Message *
 
using reference = const Message &
 
using value_type = Message
 

Public Member Functions

 ChunkIterator (const ChunkIterator &)=default
 
reference operator* ()
 
ChunkIteratoroperator++ ()
 
ChunkIterator operator++ (int)
 
pointer operator-> ()
 
ChunkIteratoroperator= (const ChunkIterator &)=default
 

Private Member Functions

 ChunkIterator ()
 
 ChunkIterator (const BagReader *reader, int chunk)
 

Private Attributes

std::shared_ptr< Privatem_d
 
std::size_t m_idx = 0
 
Message m_msg
 

Friends

class BagReader::Iterator
 
bool operator!= (const ChunkIterator &a, const ChunkIterator &b)
 
bool operator== (const ChunkIterator &a, const ChunkIterator &b)
 

Detailed Description

Definition at line 93 of file bag_reader.h.

Member Typedef Documentation

◆ iterator_category

Definition at line 96 of file bag_reader.h.

◆ pointer

Definition at line 99 of file bag_reader.h.

◆ reference

Definition at line 98 of file bag_reader.h.

◆ value_type

Definition at line 97 of file bag_reader.h.

Constructor & Destructor Documentation

◆ ChunkIterator() [1/3]

rosbag_fancy::BagReader::ChunkIterator::ChunkIterator ( const ChunkIterator )
default

◆ ChunkIterator() [2/3]

rosbag_fancy::BagReader::ChunkIterator::ChunkIterator ( )
inlineprivate

Definition at line 116 of file bag_reader.h.

◆ ChunkIterator() [3/3]

rosbag_fancy::BagReader::ChunkIterator::ChunkIterator ( const BagReader reader,
int  chunk 
)
explicitprivate

Definition at line 384 of file bag_reader.cpp.

Member Function Documentation

◆ operator*()

reference rosbag_fancy::BagReader::ChunkIterator::operator* ( )
inline

Definition at line 104 of file bag_reader.h.

◆ operator++() [1/2]

BagReader::ChunkIterator & rosbag_fancy::BagReader::ChunkIterator::operator++ ( )

Definition at line 454 of file bag_reader.cpp.

◆ operator++() [2/2]

ChunkIterator rosbag_fancy::BagReader::ChunkIterator::operator++ ( int  )
inline

Definition at line 108 of file bag_reader.h.

◆ operator->()

pointer rosbag_fancy::BagReader::ChunkIterator::operator-> ( )
inline

Definition at line 105 of file bag_reader.h.

◆ operator=()

ChunkIterator& rosbag_fancy::BagReader::ChunkIterator::operator= ( const ChunkIterator )
default

Friends And Related Function Documentation

◆ BagReader::Iterator

friend class BagReader::Iterator
friend

Definition at line 111 of file bag_reader.h.

◆ operator!=

bool operator!= ( const ChunkIterator a,
const ChunkIterator b 
)
friend

Definition at line 111 of file bag_reader.h.

◆ operator==

bool operator== ( const ChunkIterator a,
const ChunkIterator b 
)
friend

Definition at line 110 of file bag_reader.h.

Member Data Documentation

◆ m_d

std::shared_ptr<Private> rosbag_fancy::BagReader::ChunkIterator::m_d
private

Definition at line 119 of file bag_reader.h.

◆ m_idx

std::size_t rosbag_fancy::BagReader::ChunkIterator::m_idx = 0
private

Definition at line 121 of file bag_reader.h.

◆ m_msg

Message rosbag_fancy::BagReader::ChunkIterator::m_msg
private

Definition at line 122 of file bag_reader.h.


The documentation for this class was generated from the following files:


rosbag_fancy
Author(s):
autogenerated on Tue Feb 20 2024 03:20:59