Impact Acquire SDK C++
|
A helper class to control the way an image request will be processed. More...
#include <mvIMPACT_acquire.h>
Public Member Functions | |
HOBJ | hObj (void) const |
Returns a unique identifier for the component collection referenced by this object. | |
ImageRequestControl (Device *pDev, const std::string &name="Base") | |
Constructs a new mvIMPACT::acquire::ImageRequestControl object. | |
const ComponentCollection & | restoreDefault (void) const |
Restores the default for every component of this collection. | |
Public Attributes | |
PropertyI | imageCount |
An integer property defining the number of images to capture with each request. | |
PropertyIImageRequestControlMode | mode |
The mode this object shall be operated in. | |
PropertyI | requestQueue |
An integer property defining to which request queue the image request will be sent. | |
PropertyI | requestToUse |
An integer property defining which request object shall be used for the next image request. | |
PropertyI | resultQueue |
An integer property defining to which result queue the resulting image will be sent after the acquisition. | |
PropertyI | setting |
An integer property defining which setting will be used for the acquisition. | |
Protected Attributes | |
HOBJ | m_hRoot |
A helper class to control the way an image request will be processed.
|
inlineexplicit |
Constructs a new mvIMPACT::acquire::ImageRequestControl object.
[in] | pDev | A pointer to a mvIMPACT::acquire::Device object obtained from a mvIMPACT::acquire::DeviceManager object. |
[in] | name | The name of the driver internal image request control to access with this instance. A list of valid setting names can be obtained by a call to mvIMPACT::acquire::FunctionInterface::getAvailableImageRequestControls, new image request controls can be created with the function mvIMPACT::acquire::FunctionInterface::createImageRequestControl |
|
inlineinherited |
Returns a unique identifier for the component collection referenced by this object.
This handle will always reference an object of type mvIMPACT::acquire::ComponentList.
|
inlineinherited |
Restores the default for every component of this collection.
Calling this function will restore the default value for every component belonging to this collection.
PropertyI imageCount |
An integer property defining the number of images to capture with each request.
|
protectedinherited |
The mode this object shall be operated in.
Valid values for this property are defined by the enumeration mvIMPACT::acquire::TImageRequestControlMode.
This property can e.g. be used to prepare internal data structures without requesting a 'real' image from the hardware. This can be useful when the image dimensions must be known before the first image is captured.
PropertyI requestQueue |
An integer property defining to which request queue the image request will be sent.
This property defines the stream channel requests associated with this request control instance will be sent to.
The maximum value for this feature corresponds to the number of independent stream channels offered by the device. Only devices operated in interface layout mvIMPACT::acquire::dilGenICam may offer more than one stream channel. Therefore the default value and the default maximum and minimum value will be 0 for most devices.
PropertyI requestToUse |
An integer property defining which request object shall be used for the next image request.
This is an advanced feature that should only be used if needed. A value smaller than 0 will result in an automatic mode. This is the default behaviour and the driver will decide which buffer to use next then.
A request can only be sent to the driver once. Until this request is returned to the user it can't be sent again thus this property must be changed for each request if multiple requests shall be sent to the capture queue.
PropertyI resultQueue |
An integer property defining to which result queue the resulting image will be sent after the acquisition.
PropertyI setting |
An integer property defining which setting will be used for the acquisition.
This property defines a translation dictionary. It maps the name of the setting (the parameter passed to the function mvIMPACT::acquire::FunctionInterface::createSetting) to the actual underlying handle of the request. Therefore either the name or the handle of the setting can be used to set this property to the desired value.