add getExposureTimeLimits
This commit is contained in:
parent
1aaa137d88
commit
02e906764c
2 changed files with 97 additions and 19 deletions
|
|
@ -82,6 +82,7 @@ public:
|
|||
typedef int AquisitionMode;
|
||||
static constexpr AquisitionMode MODE_FREE = 0;
|
||||
static constexpr AquisitionMode MODE_SINGLE = 1;
|
||||
static constexpr AquisitionMode MODE_DISCARD = 2;
|
||||
|
||||
private:
|
||||
ArvStream* aStream_ = nullptr;
|
||||
|
|
@ -108,6 +109,8 @@ private:
|
|||
std::atomic_bool run;
|
||||
|
||||
AquisitionMode aqmode = MODE_FREE;
|
||||
int discardCount = 0;
|
||||
bool aqRunning = false;
|
||||
|
||||
void decoderThreadFunc();
|
||||
|
||||
|
|
@ -132,12 +135,16 @@ public:
|
|||
~Camera();
|
||||
bool isOpen();
|
||||
bool setAcquisitionMode(AquisitionMode mode);
|
||||
bool setGain(double gain);
|
||||
double getGain();
|
||||
bool setExposureTime(uint64_t us);
|
||||
bool getExposureTimeLimits(uint64_t& min, uint64_t& max);
|
||||
uint64_t getExposureTime();
|
||||
double getFrameRate();
|
||||
bool setFrameRate(double rate);
|
||||
int64_t getPixelFormat();
|
||||
bool setExposureAuto(bool enable);
|
||||
bool hasExposureAuto();
|
||||
bool startAcquisition();
|
||||
bool stopAcquisition();
|
||||
void getSize(unsigned int* x, unsigned int* y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue