Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends
rosbag::View::iterator Class Reference

An iterator that points to a MessageInstance from a bag. More...

#include <view.h>

List of all members.

Public Member Functions

 iterator (iterator const &i)
 iterator ()
 ~iterator ()

Protected Member Functions

 iterator (View *view, bool end=false)

Private Member Functions

MessageInstancedereference () const
bool equal (iterator const &other) const
void increment ()
void populate ()
void populateSeek (std::multiset< IndexEntry >::const_iterator iter)

Private Attributes

std::vector< ViewIterHelperiters_
MessageInstancemessage_instance_
Viewview_
uint32_t view_revision_

Friends

class boost::iterator_core_access
class View

Detailed Description

An iterator that points to a MessageInstance from a bag.

This iterator stores the MessageInstance that it is returning a reference to. If you increment the iterator that MessageInstance is destroyed. You should never store the pointer to this reference.

Definition at line 63 of file view.h.


Constructor & Destructor Documentation

Definition at line 59 of file view.cpp.

Definition at line 46 of file view.cpp.

Definition at line 48 of file view.cpp.

rosbag::View::iterator::iterator ( View view,
bool  end = false 
) [protected]

Definition at line 54 of file view.cpp.


Member Function Documentation

Definition at line 144 of file view.cpp.

bool rosbag::View::iterator::equal ( View::iterator const &  other) const [private]

Definition at line 90 of file view.cpp.

Definition at line 103 of file view.cpp.

Definition at line 61 of file view.cpp.

void rosbag::View::iterator::populateSeek ( std::multiset< IndexEntry >::const_iterator  iter) [private]

Definition at line 73 of file view.cpp.


Friends And Related Function Documentation

friend class boost::iterator_core_access [friend]

Definition at line 77 of file view.h.

friend class View [friend]

Definition at line 76 of file view.h.


Member Data Documentation

Definition at line 90 of file view.h.

Definition at line 92 of file view.h.

Definition at line 89 of file view.h.

Definition at line 91 of file view.h.


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


rosbag
Author(s): Tim Field, Jeremy Leibs, James Bowman
autogenerated on Mon Oct 6 2014 11:47:09