Interface for grabbing images [Legacy API: 1st generation]. More...
Enumerations | |
enum | CVC_TIMEOUT_SETTING { CVC_TIMEOUT_DEFAULT = 0 , CVC_TIMEOUT_INFINITE = -1 , CVC_TIMEOUT_STATUS = -2 } |
Specific constants for timeout definitions. More... | |
Functions | |
cvbbool_t | CanGrabber (IMG Image) |
This function verifies whether the image supports the Grabber interface. More... | |
cvbres_t | GetDriverID (IMG Image, cvbguid_t &pID) |
Returns the ID of the driver associated with the passed image. More... | |
cvbres_t | GetModule (IMG Image, void **ppA, void **ppB, void **ppC) |
Returns a number of device dependant handles to an image acquisition device. More... | |
cvbres_t | SetTimeout (IMG Image, cvbuint32_t dwTimeout) |
Defines the timeout for all Grabber functions. More... | |
cvbres_t | Snap (IMG Image) |
Acquires a single image. More... | |
Interface for grabbing images [Legacy API: 1st generation].
enum CVC_TIMEOUT_SETTING |
Specific constants for timeout definitions.
Enumerator | |
---|---|
CVC_TIMEOUT_DEFAULT | Use the default timeout of 10s. |
CVC_TIMEOUT_INFINITE | Wait as long as possible. |
CVC_TIMEOUT_STATUS | Check the timeout status. |
cvbbool_t CanGrabber | ( | IMG | Image | ) |
This function verifies whether the image supports the Grabber interface.
[in] | Image | Handle of image object. |
TRUE
if the image supports the Grabber interface, FALSE
otherwise. cvbres_t GetDriverID | ( | IMG | Image, |
cvbguid_t & | pID | ||
) |
Returns the ID of the driver associated with the passed image.
Use FindDriverName to get the name of the driver as a string.
[in] | Image | Handle of image object. |
[out] | pID | GUID of Driver. |
cvbres_t GetModule | ( | IMG | Image, |
void ** | ppA, | ||
void ** | ppB, | ||
void ** | ppC | ||
) |
Returns a number of device dependant handles to an image acquisition device.
Further details can be found in the CVB Driver User Guide for your image acquisition device.
[in] | Image | Handle of image object. |
[out] | ppA | First parameter (driver-dependent). |
[out] | ppB | Second parameter (driver-dependent). |
[out] | ppC | Third parameter (driver-dependent). |
cvbres_t SetTimeout | ( | IMG | Image, |
cvbuint32_t | dwTimeout | ||
) |
Defines the timeout for all Grabber functions.
This value might be dependent on the minimum or maximum timeout periods allowed by the image acquisition device.
[in] | Image | Handle of image object. |
[in] | dwTimeout | For more information regarding the specific acquisition device please have a look at the specific Driver User Guide. |