#include <RosbagUtilities.hpp>
Public Member Functions | |
void | addTopic (std::string topic_name) |
bool | done () |
template<class T > | |
T | next () |
rosbag::MessageInstance | nextMessageInstance () |
void | open () |
RosbagReader () | |
RosbagReader (std::string bag_filename) | |
void | setBag (std::string bag_filename) |
~RosbagReader () | |
Private Attributes | |
rosbag::Bag | bag |
std::string | bag_name |
rosbag::View | bag_view |
rosbag::View::iterator | message_it |
std::vector< std::string > | topics |
Definition at line 44 of file RosbagUtilities.hpp.
labust::tools::RosbagReader::RosbagReader | ( | ) | [inline] |
Definition at line 46 of file RosbagUtilities.hpp.
labust::tools::RosbagReader::RosbagReader | ( | std::string | bag_filename | ) | [inline] |
Definition at line 48 of file RosbagUtilities.hpp.
labust::tools::RosbagReader::~RosbagReader | ( | ) | [inline] |
Definition at line 52 of file RosbagUtilities.hpp.
void labust::tools::RosbagReader::addTopic | ( | std::string | topic_name | ) | [inline] |
Definition at line 60 of file RosbagUtilities.hpp.
bool labust::tools::RosbagReader::done | ( | ) | [inline] |
Definition at line 70 of file RosbagUtilities.hpp.
T labust::tools::RosbagReader::next | ( | ) | [inline] |
Definition at line 75 of file RosbagUtilities.hpp.
Definition at line 84 of file RosbagUtilities.hpp.
void labust::tools::RosbagReader::open | ( | ) | [inline] |
Definition at line 64 of file RosbagUtilities.hpp.
void labust::tools::RosbagReader::setBag | ( | std::string | bag_filename | ) | [inline] |
Definition at line 56 of file RosbagUtilities.hpp.
rosbag::Bag labust::tools::RosbagReader::bag [private] |
Definition at line 89 of file RosbagUtilities.hpp.
std::string labust::tools::RosbagReader::bag_name [private] |
Definition at line 92 of file RosbagUtilities.hpp.
Definition at line 90 of file RosbagUtilities.hpp.
Definition at line 91 of file RosbagUtilities.hpp.
std::vector<std::string> labust::tools::RosbagReader::topics [private] |
Definition at line 93 of file RosbagUtilities.hpp.