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

#include <bag_view.h>

Classes

class  Private
 

Public Types

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

Public Member Functions

 Iterator ()
 
 Iterator (const Iterator &)=default
 
reference operator* ()
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
pointer operator-> ()
 
Iteratoroperator= (const Iterator &)=default
 
 ~Iterator ()
 

Private Member Functions

 Iterator (const BagView *view)
 
 Iterator (const BagView *view, const ros::Time &time)
 

Private Attributes

std::shared_ptr< Privatem_d
 

Friends

class BagView
 
bool operator!= (const Iterator &a, const Iterator &b)
 
bool operator== (const Iterator &a, const Iterator &b)
 

Detailed Description

Definition at line 24 of file bag_view.h.

Member Typedef Documentation

◆ iterator_category

using rosbag_fancy::BagView::Iterator::iterator_category = std::input_iterator_tag

Definition at line 27 of file bag_view.h.

◆ pointer

Definition at line 30 of file bag_view.h.

◆ reference

Definition at line 29 of file bag_view.h.

◆ value_type

Definition at line 28 of file bag_view.h.

Constructor & Destructor Documentation

◆ Iterator() [1/4]

rosbag_fancy::BagView::Iterator::Iterator ( )
inline

Definition at line 32 of file bag_view.h.

◆ ~Iterator()

rosbag_fancy::BagView::Iterator::~Iterator ( )

Definition at line 142 of file bag_view.cpp.

◆ Iterator() [2/4]

rosbag_fancy::BagView::Iterator::Iterator ( const Iterator )
default

◆ Iterator() [3/4]

rosbag_fancy::BagView::Iterator::Iterator ( const BagView view)
explicitprivate

Definition at line 130 of file bag_view.cpp.

◆ Iterator() [4/4]

rosbag_fancy::BagView::Iterator::Iterator ( const BagView view,
const ros::Time time 
)
private

Definition at line 136 of file bag_view.cpp.

Member Function Documentation

◆ operator*()

const BagView::MultiBagMessage & rosbag_fancy::BagView::Iterator::operator* ( )

Definition at line 145 of file bag_view.cpp.

◆ operator++() [1/2]

BagView::Iterator & rosbag_fancy::BagView::Iterator::operator++ ( )

Definition at line 153 of file bag_view.cpp.

◆ operator++() [2/2]

Iterator rosbag_fancy::BagView::Iterator::operator++ ( int  )
inline

Definition at line 42 of file bag_view.h.

◆ operator->()

pointer rosbag_fancy::BagView::Iterator::operator-> ( )
inline

Definition at line 39 of file bag_view.h.

◆ operator=()

Iterator& rosbag_fancy::BagView::Iterator::operator= ( const Iterator )
default

Friends And Related Function Documentation

◆ BagView

friend class BagView
friend

Definition at line 48 of file bag_view.h.

◆ operator!=

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

Definition at line 209 of file bag_view.cpp.

◆ operator==

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

Definition at line 203 of file bag_view.cpp.

Member Data Documentation

◆ m_d

std::shared_ptr<Private> rosbag_fancy::BagView::Iterator::m_d
private

Definition at line 53 of file bag_view.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