Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef CAMERAXIMEA_H
#define CAMERAXIMEA_H
#include "Camera.h"
// XIMEA specific type
typedef void* HANDLE;
class CameraXIMEA : public Camera {
public:
// Static methods
static std::vector<CameraInfo> getCameraList();
// Interface function
CameraXIMEA(unsigned int camNum);
CameraSettings getCameraSettings();
void setCameraSettings(CameraSettings);
void startCapture();
void stopCapture();
CameraFrame lockFrame();
void unlockFrame();
CameraFrame getSingleFrame();
size_t getFrameSizeBytes();
void getFrameWidthHeight(unsigned int *width, unsigned int *height);
~CameraXIMEA();
private:
HANDLE camera;
int stat;
};
#endif // CAMERAXIMEA_H