#include <bag_reader.h>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | pointer = const Message * |
using | reference = const Message & |
using | value_type = Message |
Public Member Functions | |
void | advanceWithPredicates (const std::function< bool(const ConnectionInfo &)> &connPredicate, const std::function< bool(const Message &)> &messagePredicate) |
int | chunk () const |
rosbag::CompressionType | currentChunkCompression () const |
std::vector< ConnectionInfo > & | currentChunkConnections () const |
void | findNextWithPredicates (const std::function< bool(const ConnectionInfo &)> &connPredicate, const std::function< bool(const Message &)> &messagePredicate) |
Iterator () | |
Iterator (const Iterator &)=default | |
reference | operator* () |
Iterator & | operator++ () |
Iterator | operator++ (int) |
pointer | operator-> () |
Iterator & | operator= (const Iterator &)=default |
void | skipChunk () |
Private Member Functions | |
Iterator (const BagReader *reader, int chunk) | |
Private Attributes | |
int | m_chunk = -1 |
ChunkIterator | m_it |
const BagReader * | m_reader |
Friends | |
class | BagReader |
bool | operator!= (const Iterator &a, const Iterator &b) |
bool | operator== (const Iterator &a, const Iterator &b) |
Definition at line 125 of file bag_reader.h.
using rosbag_fancy::BagReader::Iterator::iterator_category = std::input_iterator_tag |
Definition at line 128 of file bag_reader.h.
using rosbag_fancy::BagReader::Iterator::pointer = const Message* |
Definition at line 131 of file bag_reader.h.
using rosbag_fancy::BagReader::Iterator::reference = const Message& |
Definition at line 130 of file bag_reader.h.
Definition at line 129 of file bag_reader.h.
|
inline |
Definition at line 133 of file bag_reader.h.
|
default |
|
explicitprivate |
Definition at line 491 of file bag_reader.cpp.
void rosbag_fancy::BagReader::Iterator::advanceWithPredicates | ( | const std::function< bool(const ConnectionInfo &)> & | connPredicate, |
const std::function< bool(const Message &)> & | messagePredicate | ||
) |
Definition at line 518 of file bag_reader.cpp.
|
inline |
Definition at line 153 of file bag_reader.h.
rosbag::CompressionType rosbag_fancy::BagReader::Iterator::currentChunkCompression | ( | ) | const |
Definition at line 589 of file bag_reader.cpp.
std::vector< BagReader::ConnectionInfo > & rosbag_fancy::BagReader::Iterator::currentChunkConnections | ( | ) | const |
Definition at line 584 of file bag_reader.cpp.
void rosbag_fancy::BagReader::Iterator::findNextWithPredicates | ( | const std::function< bool(const ConnectionInfo &)> & | connPredicate, |
const std::function< bool(const Message &)> & | messagePredicate | ||
) |
Definition at line 537 of file bag_reader.cpp.
|
inline |
Definition at line 137 of file bag_reader.h.
BagReader::Iterator & rosbag_fancy::BagReader::Iterator::operator++ | ( | ) |
Definition at line 498 of file bag_reader.cpp.
|
inline |
Definition at line 141 of file bag_reader.h.
|
inline |
Definition at line 138 of file bag_reader.h.
void rosbag_fancy::BagReader::Iterator::skipChunk | ( | ) |
|
friend |
Definition at line 157 of file bag_reader.h.
Definition at line 147 of file bag_reader.h.
Definition at line 146 of file bag_reader.h.
|
private |
Definition at line 162 of file bag_reader.h.
|
private |
Definition at line 163 of file bag_reader.h.
|
private |
Definition at line 161 of file bag_reader.h.