Public Member Functions | |
void | onInit () |
Private Member Functions | |
void | connectCb (const ros::SingleSubscriberPublisher &ssp) |
void | disconnectCb (const ros::SingleSubscriberPublisher &) |
void | do_work (const sensor_msgs::ImageConstPtr &msg, const std::string input_frame_from_msg) |
void | imageCallback (const sensor_msgs::ImageConstPtr &msg) |
void | subscribe () |
void | unsubscribe () |
Private Attributes | |
image_transport::Subscriber | _img_sub |
boost::shared_ptr < image_transport::ImageTransport > | _it |
ros::NodeHandle | _ln |
ros::NodeHandle | _nh |
double | _rate |
jsk_perception::SparseImagePtr | _spr_img_ptr |
ros::Publisher | _spr_img_pub |
int | _subscriber_count |
Definition at line 16 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::connectCb | ( | const ros::SingleSubscriberPublisher & | ssp | ) | [inline, private] |
Definition at line 82 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::disconnectCb | ( | const ros::SingleSubscriberPublisher & | ) | [inline, private] |
Definition at line 88 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::do_work | ( | const sensor_msgs::ImageConstPtr & | msg, |
const std::string | input_frame_from_msg | ||
) | [inline, private] |
Definition at line 33 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::imageCallback | ( | const sensor_msgs::ImageConstPtr & | msg | ) | [inline, private] |
Definition at line 29 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::onInit | ( | ) | [inline, virtual] |
Implements nodelet::Nodelet.
Definition at line 96 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::subscribe | ( | ) | [inline, private] |
Definition at line 72 of file sparse_image_encoder.cpp.
void jsk_perception::SparseImageEncoder::unsubscribe | ( | ) | [inline, private] |
Definition at line 77 of file sparse_image_encoder.cpp.
Definition at line 19 of file sparse_image_encoder.cpp.
boost::shared_ptr<image_transport::ImageTransport> jsk_perception::SparseImageEncoder::_it [private] |
Definition at line 23 of file sparse_image_encoder.cpp.
Definition at line 25 of file sparse_image_encoder.cpp.
Definition at line 24 of file sparse_image_encoder.cpp.
double jsk_perception::SparseImageEncoder::_rate [private] |
Definition at line 27 of file sparse_image_encoder.cpp.
jsk_perception::SparseImagePtr jsk_perception::SparseImageEncoder::_spr_img_ptr [private] |
Definition at line 21 of file sparse_image_encoder.cpp.
Definition at line 18 of file sparse_image_encoder.cpp.
int jsk_perception::SparseImageEncoder::_subscriber_count [private] |
Definition at line 26 of file sparse_image_encoder.cpp.