Protected Member Functions | Protected Attributes | List of all members
video_stream_opencv::VideoStreamNodelet Class Reference
Inheritance diagram for video_stream_opencv::VideoStreamNodelet:
Inheritance graph
[legend]

Protected Member Functions

virtual void configCallback (VideoStreamConfig &config, uint32_t level)
 
virtual void connectionCallback (const image_transport::SingleSubscriberPublisher &)
 
virtual void connectionCallbackImpl ()
 
virtual void disconnectionCallback (const image_transport::SingleSubscriberPublisher &)
 
virtual void disconnectionCallbackImpl ()
 
virtual void do_capture ()
 
virtual void do_publish (const ros::TimerEvent &event)
 
virtual sensor_msgs::CameraInfo get_default_camera_info_from_image (sensor_msgs::ImagePtr img)
 
virtual void infoConnectionCallback (const ros::SingleSubscriberPublisher &)
 
virtual void infoDisconnectionCallback (const ros::SingleSubscriberPublisher &)
 
virtual void onInit ()
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
virtual ~VideoStreamNodelet ()
 
- 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

sensor_msgs::CameraInfo cam_info_msg
 
std::string camera_info_url
 
std::string camera_name
 
boost::shared_ptr< cv::VideoCapture > cap
 
boost::thread capture_thread
 
bool capture_thread_running
 
boost::shared_ptr< dynamic_reconfigure::Server< VideoStreamConfig > > dyn_srv
 
bool flip_horizontal
 
bool flip_vertical
 
double fps
 
cv::Mat frame
 
std::string frame_id
 
std::queue< cv::Mat > framesQueue
 
int height_target
 
bool loop_videofile
 
int max_queue_size
 
boost::shared_ptr< ros::NodeHandlenh
 
boost::shared_ptr< ros::NodeHandlepnh
 
image_transport::CameraPublisher pub
 
ros::Timer publish_timer
 
std::mutex q_mutex
 
bool reopen_on_read_failure
 
std::mutex s_mutex
 
double set_camera_fps
 
int subscriber_num
 
std::string video_stream_provider
 
std::string video_stream_provider_type
 
int width_target
 

Additional Inherited Members

- 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 ()
 

Detailed Description

Definition at line 58 of file video_stream.cpp.

Constructor & Destructor Documentation

virtual video_stream_opencv::VideoStreamNodelet::~VideoStreamNodelet ( )
inlineprotectedvirtual

Definition at line 443 of file video_stream.cpp.

Member Function Documentation

virtual void video_stream_opencv::VideoStreamNodelet::configCallback ( VideoStreamConfig &  config,
uint32_t  level 
)
inlineprotectedvirtual

Definition at line 306 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::connectionCallback ( const image_transport::SingleSubscriberPublisher )
inlineprotectedvirtual

Definition at line 290 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::connectionCallbackImpl ( )
inlineprotectedvirtual

Definition at line 268 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::disconnectionCallback ( const image_transport::SingleSubscriberPublisher )
inlineprotectedvirtual

Definition at line 298 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::disconnectionCallbackImpl ( )
inlineprotectedvirtual

Definition at line 276 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::do_capture ( )
inlineprotectedvirtual

Definition at line 117 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::do_publish ( const ros::TimerEvent event)
inlineprotectedvirtual

Definition at line 175 of file video_stream.cpp.

virtual sensor_msgs::CameraInfo video_stream_opencv::VideoStreamNodelet::get_default_camera_info_from_image ( sensor_msgs::ImagePtr  img)
inlineprotectedvirtual

Definition at line 89 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::infoConnectionCallback ( const ros::SingleSubscriberPublisher )
inlineprotectedvirtual

Definition at line 294 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::infoDisconnectionCallback ( const ros::SingleSubscriberPublisher )
inlineprotectedvirtual

Definition at line 302 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::onInit ( )
inlineprotectedvirtual

Implements nodelet::Nodelet.

Definition at line 387 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::subscribe ( )
inlineprotectedvirtual

Definition at line 214 of file video_stream.cpp.

virtual void video_stream_opencv::VideoStreamNodelet::unsubscribe ( )
inlineprotectedvirtual

Definition at line 260 of file video_stream.cpp.

Member Data Documentation

sensor_msgs::CameraInfo video_stream_opencv::VideoStreamNodelet::cam_info_msg
protected

Definition at line 85 of file video_stream.cpp.

std::string video_stream_opencv::VideoStreamNodelet::camera_info_url
protected

Definition at line 70 of file video_stream.cpp.

std::string video_stream_opencv::VideoStreamNodelet::camera_name
protected

Definition at line 69 of file video_stream.cpp.

boost::shared_ptr<cv::VideoCapture> video_stream_opencv::VideoStreamNodelet::cap
protected

Definition at line 66 of file video_stream.cpp.

boost::thread video_stream_opencv::VideoStreamNodelet::capture_thread
protected

Definition at line 83 of file video_stream.cpp.

bool video_stream_opencv::VideoStreamNodelet::capture_thread_running
protected

Definition at line 81 of file video_stream.cpp.

boost::shared_ptr<dynamic_reconfigure::Server<VideoStreamConfig> > video_stream_opencv::VideoStreamNodelet::dyn_srv
protected

Definition at line 62 of file video_stream.cpp.

bool video_stream_opencv::VideoStreamNodelet::flip_horizontal
protected

Definition at line 79 of file video_stream.cpp.

bool video_stream_opencv::VideoStreamNodelet::flip_vertical
protected

Definition at line 80 of file video_stream.cpp.

double video_stream_opencv::VideoStreamNodelet::fps
protected

Definition at line 73 of file video_stream.cpp.

cv::Mat video_stream_opencv::VideoStreamNodelet::frame
protected

Definition at line 65 of file video_stream.cpp.

std::string video_stream_opencv::VideoStreamNodelet::frame_id
protected

Definition at line 71 of file video_stream.cpp.

std::queue<cv::Mat> video_stream_opencv::VideoStreamNodelet::framesQueue
protected

Definition at line 64 of file video_stream.cpp.

int video_stream_opencv::VideoStreamNodelet::height_target
protected

Definition at line 78 of file video_stream.cpp.

bool video_stream_opencv::VideoStreamNodelet::loop_videofile
protected

Definition at line 75 of file video_stream.cpp.

int video_stream_opencv::VideoStreamNodelet::max_queue_size
protected

Definition at line 74 of file video_stream.cpp.

boost::shared_ptr<ros::NodeHandle> video_stream_opencv::VideoStreamNodelet::nh
protected

Definition at line 60 of file video_stream.cpp.

boost::shared_ptr<ros::NodeHandle> video_stream_opencv::VideoStreamNodelet::pnh
protected

Definition at line 60 of file video_stream.cpp.

image_transport::CameraPublisher video_stream_opencv::VideoStreamNodelet::pub
protected

Definition at line 61 of file video_stream.cpp.

ros::Timer video_stream_opencv::VideoStreamNodelet::publish_timer
protected

Definition at line 84 of file video_stream.cpp.

std::mutex video_stream_opencv::VideoStreamNodelet::q_mutex
protected

Definition at line 63 of file video_stream.cpp.

bool video_stream_opencv::VideoStreamNodelet::reopen_on_read_failure
protected

Definition at line 82 of file video_stream.cpp.

std::mutex video_stream_opencv::VideoStreamNodelet::s_mutex
protected

Definition at line 63 of file video_stream.cpp.

double video_stream_opencv::VideoStreamNodelet::set_camera_fps
protected

Definition at line 72 of file video_stream.cpp.

int video_stream_opencv::VideoStreamNodelet::subscriber_num
protected

Definition at line 76 of file video_stream.cpp.

std::string video_stream_opencv::VideoStreamNodelet::video_stream_provider
protected

Definition at line 67 of file video_stream.cpp.

std::string video_stream_opencv::VideoStreamNodelet::video_stream_provider_type
protected

Definition at line 68 of file video_stream.cpp.

int video_stream_opencv::VideoStreamNodelet::width_target
protected

Definition at line 77 of file video_stream.cpp.


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


video_stream_opencv
Author(s): Sammy Pfeiffer
autogenerated on Wed Jun 19 2019 19:58:35