00001 // -*- mode: c++; indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- 00002 #include <iostream> 00003 #include "CameraCaptureService_impl.h" 00004 #include "CaptureController.h" 00005 00006 CameraCaptureService_impl::CameraCaptureService_impl(CaptureController *cc) : 00007 m_cc(cc) 00008 { 00009 } 00010 00011 CameraCaptureService_impl::~CameraCaptureService_impl() 00012 { 00013 } 00014 00015 void CameraCaptureService_impl::take_one_frame() 00016 { 00017 m_cc->take_one_frame(); 00018 } 00019 00020 void CameraCaptureService_impl::start_continuous() 00021 { 00022 m_cc->start_continuous(); 00023 } 00024 00025 void CameraCaptureService_impl::stop_continuous() 00026 { 00027 m_cc->stop_continuous(); 00028 } 00029 00030 00031