Go to the documentation of this file.00001 #pragma once
00002
00003 #include <pthread.h>
00004 #include <string>
00005 #include <iostream>
00006 using namespace std;
00010 class CCamera
00011 {
00012 public:
00013 CCamera(void);
00014 CCamera(string device);
00015 ~CCamera(void);
00016 int takeStillImage(string path);
00017 int startRecording(string path);
00018 int startRecording();
00019 int stopRecording();
00020 bool isRecording();
00021 int startStreaming(string port);
00022 int stopStreaming();
00023 bool isStreaming();
00024 string getCurrentDevice();
00025 int setDevice(string device);
00026
00027 private:
00028 bool m_recording;
00029 bool m_streaming;
00030 string m_device;
00031 };