Go to the documentation of this file.00001 #ifndef __GSCAM_GSCAM_NODELET_H
00002 #define __GSCAM_GSCAM_NODELET_H
00003
00004 #include <nodelet/nodelet.h>
00005
00006 #include <gscam/gscam.h>
00007
00008 #include <boost/thread.hpp>
00009 #include <boost/scoped_ptr.hpp>
00010
00011 namespace gscam {
00012 class GSCamNodelet : public nodelet::Nodelet
00013 {
00014 public:
00015 GSCamNodelet();
00016 ~GSCamNodelet();
00017
00018 virtual void onInit();
00019
00020 private:
00021 boost::scoped_ptr<GSCam> gscam_driver_;
00022 boost::scoped_ptr<boost::thread> stream_thread_;
00023 };
00024 }
00025
00026 #endif // infdef __GSCAM_GSCAM_NODELET_H