LumeneraAcquisitionControlParams

Description

See LUCAM_SNAPSHOT Structure in official documentation for more thorough information

Structure fields and default values (if defined) are described below:

  • Bool HWTrigger = false - If set to true, grab will wait for the hardware trigger
  • float Gain
  • float Exposure - Exposure in ms
  • int BufferSize - Buffer size for incoming images
struct LumeneraAcquisitionControlParams
{
	Bool	HWTrigger;
	float	Gain;
	float	Exposure;
	int		BufferSize;

	explicit LumeneraAcquisitionControlParams
	(
		Bool HWTrigger_ = false 
	) :
		 HWTrigger(HWTrigger_) 
	{}

	Bool HWTrigger() const	{ return HWTrigger;		};
	float Gain() const		{ return Gain;			};
	float Exposure() const	{ return Exposure;		};
	int BufferSize() const	{ return BufferSize;	};

	bool operator == ( const avs::LumeneraAcquisitionControlParams& rhs ) const
	{
		return HWTrigger == rhs.HWTrigger && 
			Gain == rhs.Gain && 
			Exposure == rhs.Exposure && 
			BufferSize == rhs.BufferSize;
	}

	bool operator != ( const avs::LumeneraAcquisitionControlParams& rhs ) const
	{
		return !(operator==(rhs));
	}

};