Subversion Repositories seema-scanner

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 jakw 1
#ifndef CAMERAXIMEA_H
2
#define CAMERAXIMEA_H
3
 
4
#include "Camera.h"
5
 
6
// XIMEA specific type
7
typedef void* HANDLE;
8
 
9
class CameraXIMEA : public Camera {
10
    public:
11
        // Static methods
12
        static std::vector<CameraInfo> getCameraList();
13
        // Interface function
14
        CameraXIMEA(unsigned int camNum);
15
        CameraSettings getCameraSettings();
16
        void setCameraSettings(CameraSettings);
17
        void startCapture();
18
        void stopCapture();
19
        CameraFrame lockFrame();
20
        void unlockFrame();
21
        CameraFrame getSingleFrame();
22
        size_t getFrameSizeBytes();
23
        void getFrameWidthHeight(unsigned int *width, unsigned int *height);
24
        ~CameraXIMEA();
25
    private:
26
        HANDLE camera;
27
        int stat;
28
};
29
 
30
#endif // CAMERAXIMEA_H