00001 // -*- mode: c++; indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- 00002 #ifndef __CAMERA_CAPTURE_SERVICE_H__ 00003 #define __CAMERA_CAPTURE_SERVICE_H__ 00004 00005 #include "hrpsys/idl/Img.hh" 00006 00007 class VideoCapture; 00008 00009 class CameraCaptureService_impl 00010 : public virtual POA_Img::CameraCaptureService, 00011 public virtual PortableServer::RefCountServantBase 00012 { 00013 public: 00017 CameraCaptureService_impl(VideoCapture *vc); 00018 00022 virtual ~CameraCaptureService_impl(); 00023 00024 void take_one_frame(); 00025 void start_continuous(); 00026 void stop_continuous(); 00027 private: 00028 VideoCapture *m_vc; 00029 }; 00030 00031 #endif