Public Types | Public Member Functions | Private Attributes
bag_tools::ImageBagProcessor Class Reference

#include <image_bag_processor.h>

List of all members.

Public Types

typedef boost::function< void(const
sensor_msgs::ImageConstPtr &)> 
CallbackType

Public Member Functions

 ImageBagProcessor (const std::string &image_topic)
void processBag (const std::string &filename)
void registerCallback (const CallbackType &callback)

Private Attributes

CallbackType callback_
std::string image_topic_

Detailed Description

Definition at line 41 of file image_bag_processor.h.


Member Typedef Documentation

typedef boost::function<void (const sensor_msgs::ImageConstPtr&)> bag_tools::ImageBagProcessor::CallbackType

Definition at line 46 of file image_bag_processor.h.


Constructor & Destructor Documentation

bag_tools::ImageBagProcessor::ImageBagProcessor ( const std::string &  image_topic) [inline]

Definition at line 48 of file image_bag_processor.h.


Member Function Documentation

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

Processes given bagfile, calls registered callback function when a message is found.

Definition at line 63 of file image_bag_processor.h.

void bag_tools::ImageBagProcessor::registerCallback ( const CallbackType callback) [inline]

Definition at line 54 of file image_bag_processor.h.


Member Data Documentation

Definition at line 96 of file image_bag_processor.h.

Definition at line 95 of file image_bag_processor.h.


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


bag_tools
Author(s): Stephan Wirth , Miquel Massot
autogenerated on Mon Oct 6 2014 07:48:00