Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
resized_image_transport::ImageProcessing Class Referenceabstract

#include <image_processing_nodelet.h>

Inheritance diagram for resized_image_transport::ImageProcessing:
Inheritance graph
[legend]

Public Member Functions

 ImageProcessing ()
 
 ~ImageProcessing ()
 
- Public Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
 DiagnosticNodelet (const std::string &name)
 
- Public Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
 ConnectionBasedNodelet ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

Protected Member Functions

void callback (const sensor_msgs::ImageConstPtr &img, const sensor_msgs::CameraInfoConstPtr &info)
 
void image_cb (const sensor_msgs::ImageConstPtr &img)
 
void image_nonsync_cb (const sensor_msgs::ImageConstPtr &img)
 
void info_cb (const sensor_msgs::CameraInfoConstPtr &info)
 
void initParams ()
 
void initPublishersAndSubscribers ()
 
void initReconfigure ()
 
void onInit ()
 
virtual void process (const sensor_msgs::ImageConstPtr &src_img, const sensor_msgs::CameraInfoConstPtr &src_info, sensor_msgs::ImagePtr &dst_img, sensor_msgs::CameraInfo &dst_info)=0
 
void snapshot_msg_cb (const std_msgs::EmptyConstPtr msg)
 
bool snapshot_srv_cb (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
- Protected Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
virtual void cameraConnectionBaseCallback ()
 
virtual void cameraConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual void cameraInfoConnectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void imageConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual bool isSubscribed ()
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
virtual void warnOnInitPostProcessCalledCallback (const ros::WallTimerEvent &event)
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Protected Attributes

ros::Subscriber camera_info_sub_
 
image_transport::CameraPublisher cp_
 
image_transport::CameraSubscriber cs_
 
jsk_topic_tools::TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
int dst_height_
 
int dst_width_
 
ros::Publisher height_scale_pub_
 
image_transport::Subscriber image_nonsync_sub_
 
ros::Publisher image_pub_
 
ros::Subscriber image_sub_
 
jsk_topic_tools::VitalChecker::Ptr image_vital_
 
boost::circular_buffer< double > in_bytes
 
boost::circular_buffer< double > in_times
 
sensor_msgs::CameraInfoConstPtr info_msg_
 
jsk_topic_tools::VitalChecker::Ptr info_vital_
 
image_transport::ImageTransportit_
 
ros::Time last_publish_time_
 
ros::Time last_rosinfo_time_
 
ros::Time last_subscribe_time_
 
int max_queue_size_
 
boost::mutex mutex_
 
boost::circular_buffer< double > out_bytes
 
boost::circular_buffer< double > out_times
 
ros::Duration period_
 
bool publish_once_
 
double resize_x_
 
double resize_y_
 
ros::ServiceServer srv_
 
ros::Subscriber sub_
 
bool use_bytes_
 
bool use_camera_info_
 
bool use_camera_subscriber_
 
bool use_messages_
 
bool use_snapshot_
 
bool verbose_
 
ros::Publisher width_scale_pub_
 
- Protected Attributes inherited from jsk_topic_tools::DiagnosticNodelet
TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
const std::string name_
 
jsk_topic_tools::VitalChecker::Ptr vital_checker_
 
- Protected Attributes inherited from jsk_topic_tools::ConnectionBasedNodelet
bool always_subscribe_
 
std::vector< image_transport::CameraPublishercamera_publishers_
 
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
std::vector< image_transport::Publisherimage_publishers_
 
boost::shared_ptr< ros::NodeHandlenh_
 
bool on_init_post_process_called_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
bool subscribed_
 
ros::WallTimer timer_warn_never_subscribed_
 
ros::WallTimer timer_warn_on_init_post_process_called_
 
bool verbose_connection_
 

Additional Inherited Members

- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Detailed Description

Definition at line 33 of file image_processing_nodelet.h.

Constructor & Destructor Documentation

resized_image_transport::ImageProcessing::ImageProcessing ( )
inline

Definition at line 85 of file image_processing_nodelet.h.

resized_image_transport::ImageProcessing::~ImageProcessing ( )
inline

Definition at line 92 of file image_processing_nodelet.h.

Member Function Documentation

void resized_image_transport::ImageProcessing::callback ( const sensor_msgs::ImageConstPtr &  img,
const sensor_msgs::CameraInfoConstPtr &  info 
)
protected

Definition at line 257 of file image_processing_nodelet.cpp.

void resized_image_transport::ImageProcessing::image_cb ( const sensor_msgs::ImageConstPtr &  img)
protected

Definition at line 252 of file image_processing_nodelet.cpp.

void resized_image_transport::ImageProcessing::image_nonsync_cb ( const sensor_msgs::ImageConstPtr &  img)
protected

Definition at line 147 of file image_processing_nodelet.cpp.

void resized_image_transport::ImageProcessing::info_cb ( const sensor_msgs::CameraInfoConstPtr &  info)
protected

Definition at line 141 of file image_processing_nodelet.cpp.

void resized_image_transport::ImageProcessing::initParams ( )
protected

Definition at line 18 of file image_processing_nodelet.cpp.

void resized_image_transport::ImageProcessing::initPublishersAndSubscribers ( )
protected

Definition at line 91 of file image_processing_nodelet.cpp.

void resized_image_transport::ImageProcessing::initReconfigure ( )
protected

Definition at line 15 of file image_processing_nodelet.cpp.

void resized_image_transport::ImageProcessing::onInit ( )
protectedvirtual
virtual void resized_image_transport::ImageProcessing::process ( const sensor_msgs::ImageConstPtr &  src_img,
const sensor_msgs::CameraInfoConstPtr &  src_info,
sensor_msgs::ImagePtr &  dst_img,
sensor_msgs::CameraInfo &  dst_info 
)
protectedpure virtual
void resized_image_transport::ImageProcessing::snapshot_msg_cb ( const std_msgs::EmptyConstPtr  msg)
protected

Definition at line 128 of file image_processing_nodelet.cpp.

bool resized_image_transport::ImageProcessing::snapshot_srv_cb ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
protected

Definition at line 133 of file image_processing_nodelet.cpp.

void resized_image_transport::ImageProcessing::subscribe ( )
protectedvirtual
void resized_image_transport::ImageProcessing::unsubscribe ( )
protectedvirtual
void resized_image_transport::ImageProcessing::updateDiagnostic ( diagnostic_updater::DiagnosticStatusWrapper stat)
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 159 of file image_processing_nodelet.cpp.

Member Data Documentation

ros::Subscriber resized_image_transport::ImageProcessing::camera_info_sub_
protected

Definition at line 47 of file image_processing_nodelet.h.

image_transport::CameraPublisher resized_image_transport::ImageProcessing::cp_
protected

Definition at line 39 of file image_processing_nodelet.h.

image_transport::CameraSubscriber resized_image_transport::ImageProcessing::cs_
protected

Definition at line 38 of file image_processing_nodelet.h.

jsk_topic_tools::TimeredDiagnosticUpdater::Ptr resized_image_transport::ImageProcessing::diagnostic_updater_
protected

Definition at line 74 of file image_processing_nodelet.h.

int resized_image_transport::ImageProcessing::dst_height_
protected

Definition at line 54 of file image_processing_nodelet.h.

int resized_image_transport::ImageProcessing::dst_width_
protected

Definition at line 54 of file image_processing_nodelet.h.

ros::Publisher resized_image_transport::ImageProcessing::height_scale_pub_
protected

Definition at line 49 of file image_processing_nodelet.h.

image_transport::Subscriber resized_image_transport::ImageProcessing::image_nonsync_sub_
protected

Definition at line 46 of file image_processing_nodelet.h.

ros::Publisher resized_image_transport::ImageProcessing::image_pub_
protected

Definition at line 44 of file image_processing_nodelet.h.

ros::Subscriber resized_image_transport::ImageProcessing::image_sub_
protected

Definition at line 45 of file image_processing_nodelet.h.

jsk_topic_tools::VitalChecker::Ptr resized_image_transport::ImageProcessing::image_vital_
protected

Definition at line 72 of file image_processing_nodelet.h.

boost::circular_buffer<double> resized_image_transport::ImageProcessing::in_bytes
protected

Definition at line 69 of file image_processing_nodelet.h.

boost::circular_buffer<double> resized_image_transport::ImageProcessing::in_times
protected

Definition at line 67 of file image_processing_nodelet.h.

sensor_msgs::CameraInfoConstPtr resized_image_transport::ImageProcessing::info_msg_
protected

Definition at line 51 of file image_processing_nodelet.h.

jsk_topic_tools::VitalChecker::Ptr resized_image_transport::ImageProcessing::info_vital_
protected

Definition at line 73 of file image_processing_nodelet.h.

image_transport::ImageTransport* resized_image_transport::ImageProcessing::it_
protected

Definition at line 40 of file image_processing_nodelet.h.

ros::Time resized_image_transport::ImageProcessing::last_publish_time_
protected

Definition at line 63 of file image_processing_nodelet.h.

ros::Time resized_image_transport::ImageProcessing::last_rosinfo_time_
protected

Definition at line 63 of file image_processing_nodelet.h.

ros::Time resized_image_transport::ImageProcessing::last_subscribe_time_
protected

Definition at line 63 of file image_processing_nodelet.h.

int resized_image_transport::ImageProcessing::max_queue_size_
protected

Definition at line 55 of file image_processing_nodelet.h.

boost::mutex resized_image_transport::ImageProcessing::mutex_
protected

Definition at line 65 of file image_processing_nodelet.h.

boost::circular_buffer<double> resized_image_transport::ImageProcessing::out_bytes
protected

Definition at line 70 of file image_processing_nodelet.h.

boost::circular_buffer<double> resized_image_transport::ImageProcessing::out_times
protected

Definition at line 68 of file image_processing_nodelet.h.

ros::Duration resized_image_transport::ImageProcessing::period_
protected

Definition at line 64 of file image_processing_nodelet.h.

bool resized_image_transport::ImageProcessing::publish_once_
protected

Definition at line 58 of file image_processing_nodelet.h.

double resized_image_transport::ImageProcessing::resize_x_
protected

Definition at line 53 of file image_processing_nodelet.h.

double resized_image_transport::ImageProcessing::resize_y_
protected

Definition at line 53 of file image_processing_nodelet.h.

ros::ServiceServer resized_image_transport::ImageProcessing::srv_
protected

Definition at line 41 of file image_processing_nodelet.h.

ros::Subscriber resized_image_transport::ImageProcessing::sub_
protected

Definition at line 42 of file image_processing_nodelet.h.

bool resized_image_transport::ImageProcessing::use_bytes_
protected

Definition at line 60 of file image_processing_nodelet.h.

bool resized_image_transport::ImageProcessing::use_camera_info_
protected

Definition at line 61 of file image_processing_nodelet.h.

bool resized_image_transport::ImageProcessing::use_camera_subscriber_
protected

Definition at line 56 of file image_processing_nodelet.h.

bool resized_image_transport::ImageProcessing::use_messages_
protected

Definition at line 59 of file image_processing_nodelet.h.

bool resized_image_transport::ImageProcessing::use_snapshot_
protected

Definition at line 57 of file image_processing_nodelet.h.

bool resized_image_transport::ImageProcessing::verbose_
protected

Definition at line 62 of file image_processing_nodelet.h.

ros::Publisher resized_image_transport::ImageProcessing::width_scale_pub_
protected

Definition at line 48 of file image_processing_nodelet.h.


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


resized_image_transport
Author(s): Yohei Kakiuchi
autogenerated on Mon May 3 2021 03:03:39