Public Member Functions | Private Member Functions | Private Attributes
Callbacks Class Reference

List of all members.

Public Member Functions

bool callbackEndSave (std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res)
 Callbacks ()
bool callbackStartSave (std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res)
void callbackWithCameraInfo (const sensor_msgs::ImageConstPtr &image_msg, const sensor_msgs::CameraInfoConstPtr &info)
void callbackWithoutCameraInfo (const sensor_msgs::ImageConstPtr &image_msg)

Private Member Functions

bool saveImage (const sensor_msgs::ImageConstPtr &image_msg, std::string &filename)

Private Attributes

size_t count_
ros::Time end_time_
bool has_camera_info_
bool is_first_image_
ros::Time start_time_

Detailed Description

Class to deal with which callback to call whether we have CameraInfo or not

Definition at line 58 of file image_saver.cpp.


Constructor & Destructor Documentation

Callbacks::Callbacks ( ) [inline]

Definition at line 60 of file image_saver.cpp.


Member Function Documentation

bool Callbacks::callbackEndSave ( std_srvs::Trigger::Request &  req,
std_srvs::Trigger::Response &  res 
) [inline]

Definition at line 74 of file image_saver.cpp.

bool Callbacks::callbackStartSave ( std_srvs::Trigger::Request &  req,
std_srvs::Trigger::Response &  res 
) [inline]

Definition at line 63 of file image_saver.cpp.

void Callbacks::callbackWithCameraInfo ( const sensor_msgs::ImageConstPtr &  image_msg,
const sensor_msgs::CameraInfoConstPtr &  info 
) [inline]

Definition at line 117 of file image_saver.cpp.

void Callbacks::callbackWithoutCameraInfo ( const sensor_msgs::ImageConstPtr &  image_msg) [inline]

Definition at line 84 of file image_saver.cpp.

bool Callbacks::saveImage ( const sensor_msgs::ImageConstPtr &  image_msg,
std::string &  filename 
) [inline, private]

Definition at line 144 of file image_saver.cpp.


Member Data Documentation

size_t Callbacks::count_ [private]

Definition at line 184 of file image_saver.cpp.

Definition at line 186 of file image_saver.cpp.

Definition at line 183 of file image_saver.cpp.

Definition at line 182 of file image_saver.cpp.

Definition at line 185 of file image_saver.cpp.


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


image_view
Author(s): Patrick Mihelich
autogenerated on Tue Sep 19 2017 02:56:22