Public Member Functions | Private Member Functions | Private Attributes | List of all members
image_publisher::ImagePublisherNodelet Class Reference
Inheritance diagram for image_publisher::ImagePublisherNodelet:
Inheritance graph
[legend]

Public Member Functions

virtual void onInit ()
 
- 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 ()
 

Private Member Functions

void connectCb (const image_transport::SingleSubscriberPublisher &ssp)
 
void disconnectCb (const image_transport::SingleSubscriberPublisher &)
 
void do_work (const ros::TimerEvent &event)
 
void reconfigureCallback (image_publisher::ImagePublisherConfig &new_config, uint32_t level)
 

Private Attributes

sensor_msgs::CameraInfo camera_info_
 
cv::VideoCapture cap_
 
std::string filename_
 
bool flip_image_
 
int flip_value_
 
std::string frame_id_
 
cv::Mat image_
 
boost::shared_ptr< image_transport::ImageTransportit_
 
ros::NodeHandle nh_
 
image_transport::CameraPublisher pub_
 
dynamic_reconfigure::Server< image_publisher::ImagePublisherConfig > srv
 
int subscriber_count_
 
ros::Timer timer_
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 49 of file image_publisher_nodelet.cpp.

Member Function Documentation

void image_publisher::ImagePublisherNodelet::connectCb ( const image_transport::SingleSubscriberPublisher ssp)
inlineprivate

Definition at line 117 of file image_publisher_nodelet.cpp.

void image_publisher::ImagePublisherNodelet::disconnectCb ( const image_transport::SingleSubscriberPublisher )
inlineprivate

Definition at line 122 of file image_publisher_nodelet.cpp.

void image_publisher::ImagePublisherNodelet::do_work ( const ros::TimerEvent event)
inlineprivate

Definition at line 90 of file image_publisher_nodelet.cpp.

virtual void image_publisher::ImagePublisherNodelet::onInit ( )
inlinevirtual

Implements nodelet::Nodelet.

Definition at line 128 of file image_publisher_nodelet.cpp.

void image_publisher::ImagePublisherNodelet::reconfigureCallback ( image_publisher::ImagePublisherConfig &  new_config,
uint32_t  level 
)
inlineprivate

Definition at line 70 of file image_publisher_nodelet.cpp.

Member Data Documentation

sensor_msgs::CameraInfo image_publisher::ImagePublisherNodelet::camera_info_
private

Definition at line 67 of file image_publisher_nodelet.cpp.

cv::VideoCapture image_publisher::ImagePublisherNodelet::cap_
private

Definition at line 58 of file image_publisher_nodelet.cpp.

std::string image_publisher::ImagePublisherNodelet::filename_
private

Definition at line 64 of file image_publisher_nodelet.cpp.

bool image_publisher::ImagePublisherNodelet::flip_image_
private

Definition at line 65 of file image_publisher_nodelet.cpp.

int image_publisher::ImagePublisherNodelet::flip_value_
private

Definition at line 66 of file image_publisher_nodelet.cpp.

std::string image_publisher::ImagePublisherNodelet::frame_id_
private

Definition at line 63 of file image_publisher_nodelet.cpp.

cv::Mat image_publisher::ImagePublisherNodelet::image_
private

Definition at line 59 of file image_publisher_nodelet.cpp.

boost::shared_ptr<image_transport::ImageTransport> image_publisher::ImagePublisherNodelet::it_
private

Definition at line 55 of file image_publisher_nodelet.cpp.

ros::NodeHandle image_publisher::ImagePublisherNodelet::nh_
private

Definition at line 56 of file image_publisher_nodelet.cpp.

image_transport::CameraPublisher image_publisher::ImagePublisherNodelet::pub_
private

Definition at line 53 of file image_publisher_nodelet.cpp.

dynamic_reconfigure::Server<image_publisher::ImagePublisherConfig> image_publisher::ImagePublisherNodelet::srv
private

Definition at line 51 of file image_publisher_nodelet.cpp.

int image_publisher::ImagePublisherNodelet::subscriber_count_
private

Definition at line 60 of file image_publisher_nodelet.cpp.

ros::Timer image_publisher::ImagePublisherNodelet::timer_
private

Definition at line 61 of file image_publisher_nodelet.cpp.


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


image_publisher
Author(s): Kei Okada
autogenerated on Thu Nov 7 2019 03:45:01