Public Member Functions | Private Member Functions | Private Attributes | List of all members
cv_camera::CvCameraNodelet Class Reference

Nodelet version of cv_camera. More...

Inheritance diagram for cv_camera::CvCameraNodelet:
Inheritance graph
[legend]

Public Member Functions

 CvCameraNodelet ()
 
 ~CvCameraNodelet ()
 
- 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 main ()
 capture and publish. More...
 
virtual void onInit ()
 Start capture/publish thread. More...
 

Private Attributes

boost::shared_ptr< Driverdriver_
 ROS cv camera driver. More...
 
bool is_running_
 true is thread is running. More...
 
boost::shared_ptr< boost::thread > thread_
 thread object for main loop. More...
 

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

Nodelet version of cv_camera.

Definition at line 14 of file cv_camera_nodelet.cpp.

Constructor & Destructor Documentation

cv_camera::CvCameraNodelet::CvCameraNodelet ( )
inline

Definition at line 17 of file cv_camera_nodelet.cpp.

cv_camera::CvCameraNodelet::~CvCameraNodelet ( )
inline

Definition at line 20 of file cv_camera_nodelet.cpp.

Member Function Documentation

void cv_camera::CvCameraNodelet::main ( )
inlineprivate

capture and publish.

Definition at line 52 of file cv_camera_nodelet.cpp.

virtual void cv_camera::CvCameraNodelet::onInit ( )
inlineprivatevirtual

Start capture/publish thread.

Implements nodelet::Nodelet.

Definition at line 33 of file cv_camera_nodelet.cpp.

Member Data Documentation

boost::shared_ptr<Driver> cv_camera::CvCameraNodelet::driver_
private

ROS cv camera driver.

Definition at line 68 of file cv_camera_nodelet.cpp.

bool cv_camera::CvCameraNodelet::is_running_
private

true is thread is running.

Definition at line 63 of file cv_camera_nodelet.cpp.

boost::shared_ptr<boost::thread> cv_camera::CvCameraNodelet::thread_
private

thread object for main loop.

Definition at line 73 of file cv_camera_nodelet.cpp.


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


cv_camera
Author(s): Takashi Ogura
autogenerated on Mon Jun 1 2020 03:55:59