cameraUVC.h
00001 #include <libplayercore/playercore.h> 00002 #include <libplayercore/error.h> 00003 00004 #include "UvcInterface.h" 00005 00006 class CameraUvc; 00007 00008 #ifndef CAMERAUVC_H_ 00009 #define CAMERAUVC_H_ 00010 00011 class CameraUvc : public Driver 00012 { 00013 public: 00014 CameraUvc(ConfigFile* cf, int section); 00015 ~CameraUvc(); 00016 int Setup(); 00017 int Shutdown(); 00018 00019 int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data); 00020 private: 00021 virtual void Main(); 00022 00023 UvcInterface *ui; 00024 00025 player_camera_data_t data; // Data to send to client (through the server) 00026 }; 00027 00028 #endif /*CAMERAUVC_H_*/