Public Member Functions | Private Attributes
bag_tools::CameraBagProcessor Class Reference

#include <camera_bag_processor.h>

List of all members.

Public Member Functions

 CameraBagProcessor (const std::string &camera_base_topic)
void processBag (const std::string &filename)
template<class C >
void registerCallback (const C &callback)

Private Attributes

std::string camera_base_topic_
BagSubscriber< sensor_msgs::Image > img_sub_
BagSubscriber
< sensor_msgs::CameraInfo > 
info_sub_
message_filters::TimeSynchronizer
< sensor_msgs::Image,
sensor_msgs::CameraInfo > 
sync_

Detailed Description

Definition at line 60 of file camera_bag_processor.h.


Constructor & Destructor Documentation

bag_tools::CameraBagProcessor::CameraBagProcessor ( const std::string &  camera_base_topic) [inline]

Definition at line 64 of file camera_bag_processor.h.


Member Function Documentation

void bag_tools::CameraBagProcessor::processBag ( const std::string &  filename) [inline]

Processes given bagfile, calls registered callback function when a synchronized stereo pair with camera infos is found.

Definition at line 81 of file camera_bag_processor.h.

template<class C >
void bag_tools::CameraBagProcessor::registerCallback ( const C &  callback) [inline]

Definition at line 72 of file camera_bag_processor.h.


Member Data Documentation

Definition at line 130 of file camera_bag_processor.h.

Definition at line 127 of file camera_bag_processor.h.

BagSubscriber<sensor_msgs::CameraInfo> bag_tools::CameraBagProcessor::info_sub_ [private]

Definition at line 128 of file camera_bag_processor.h.

message_filters::TimeSynchronizer<sensor_msgs::Image, sensor_msgs::CameraInfo> bag_tools::CameraBagProcessor::sync_ [private]

Definition at line 132 of file camera_bag_processor.h.


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


bag_tools
Author(s): Stephan Wirth , Miquel Massot
autogenerated on Fri Aug 28 2015 13:15:13