An iterator that points to a MessageInstance from a bag. More...
#include <view.h>
Public Member Functions | |
iterator (iterator const &i) | |
iterator () | |
~iterator () | |
Protected Member Functions | |
iterator (View *view, bool end=false) | |
Private Member Functions | |
MessageInstance & | dereference () const |
bool | equal (iterator const &other) const |
void | increment () |
void | populate () |
void | populateSeek (std::multiset< IndexEntry >::const_iterator iter) |
Private Attributes | |
std::vector< ViewIterHelper > | iters_ |
MessageInstance * | message_instance_ |
View * | view_ |
uint32_t | view_revision_ |
Friends | |
class | boost::iterator_core_access |
class | View |
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.
rosbag::View::iterator::iterator | ( | iterator const & | i | ) |
rosbag::View::iterator::iterator | ( | View * | view, |
bool | end = false |
||
) | [protected] |
MessageInstance & rosbag::View::iterator::dereference | ( | ) | const [private] |
bool rosbag::View::iterator::equal | ( | View::iterator const & | other | ) | const [private] |
void rosbag::View::iterator::increment | ( | ) | [private] |
void rosbag::View::iterator::populate | ( | ) | [private] |
void rosbag::View::iterator::populateSeek | ( | std::multiset< IndexEntry >::const_iterator | iter | ) | [private] |
std::vector<ViewIterHelper> rosbag::View::iterator::iters_ [private] |
MessageInstance* rosbag::View::iterator::message_instance_ [mutable, private] |
View* rosbag::View::iterator::view_ [private] |
uint32_t rosbag::View::iterator::view_revision_ [private] |