CameraContext.h
Go to the documentation of this file.
00001 /*
00002  * CameraContext.h
00003  *
00004  *  Created on: Jul 9, 2010
00005  *      Author: petrito1@cmp.felk.cvut.cz
00006  */
00007 
00008 #ifndef NIFTI_CAMERA_CAMERACONTEXT_H_
00009 #define NIFTI_CAMERA_CAMERACONTEXT_H_
00010 
00011 #include <vector>
00012 
00013 #include "Camera.h"
00014 #include "LadybugCamera.h"
00015 
00016 namespace nifti {
00017 namespace dc1394 {
00018 
00023 class CameraContext {
00024 public:
00030   CameraContext();
00031 
00035   ~CameraContext();
00036 
00042   Camera getCamera();
00043 
00048   LadybugCamera getLadybugCamera(uint32_t serialNumber);
00049 private:
00050 
00054   dc1394_t* context;
00055 
00059   std::vector<dc1394camera_t*> cameras;
00060 
00061   // Prevent copying and assignment - intentionally not implemented.
00062   CameraContext(const CameraContext&);
00063   CameraContext& operator=(const CameraContext&);
00064 
00065   dc1394camera_t* getDc1394Camera(uint32_t serialNumber = 0);
00066 };
00067 
00068 }
00069 }
00070 
00071 #endif /* NIFTI_CAMERA_CAMERACONTEXT_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Defines


omnicamera
Author(s): Tomas Petricek / petrito1@cmp.felk.cvut.cz
autogenerated on Tue Dec 10 2013 14:26:53