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::CompressedImageConstPtr &)> 
CallbackCompressedType
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)
void registerCompressedCallback (const CallbackCompressedType &callback)

Private Attributes

CallbackType callback_
CallbackCompressedType callback_compressed_
std::string image_topic_

Detailed Description

Definition at line 42 of file image_bag_processor.h.


Member Typedef Documentation

typedef boost::function<void (const sensor_msgs::CompressedImageConstPtr&)> bag_tools::ImageBagProcessor::CallbackCompressedType

Definition at line 48 of file image_bag_processor.h.

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

Definition at line 47 of file image_bag_processor.h.


Constructor & Destructor Documentation

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

Definition at line 50 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 70 of file image_bag_processor.h.

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

Definition at line 56 of file image_bag_processor.h.

Definition at line 61 of file image_bag_processor.h.


Member Data Documentation

Definition at line 112 of file image_bag_processor.h.

Definition at line 113 of file image_bag_processor.h.

Definition at line 111 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 Sat Jun 8 2019 20:10:13