Interface used to create blocking capture session
Definition at line 64 of file BlockingSessionCameraProvider.h.
◆ ~IBlockingSessionCameraProvider()
Argus::Ext::IBlockingSessionCameraProvider::~IBlockingSessionCameraProvider |
( |
| ) |
|
|
inlineprotected |
◆ createBlockingCaptureSession() [1/2]
Creates and returns a blocking CaptureSession using the given device.
For blocking CaptureSession, the capture related API call will block wait until the request is serviced by underlying driver. This will help timing control in client side when client auto control is involved. In compare, for the default CaptureSession, the capture related API call will put the request in a internal queue and return immediately, without blocking client thread. STATUS_UNAVAILABLE will be placed into status
if the device is already in use.
- Parameters
-
[in] | device | The device to use for the CaptureSession. |
[out] | status | Optional pointer to return success/status of the call. |
- Returns
- The new CaptureSession, or NULL if an error occurred.
◆ createBlockingCaptureSession() [2/2]
virtual CaptureSession* Argus::Ext::IBlockingSessionCameraProvider::createBlockingCaptureSession |
( |
const std::vector< CameraDevice * > & |
devices, |
|
|
Status * |
status = NULL |
|
) |
| |
|
pure virtual |
Creates and returns a blocking CaptureSession using the given device.
For blocking CaptureSession, the capture related API call will block wait until the request is serviced by underlying driver. This will help timing control in client side when client auto control is involved. STATUS_UNAVAILABLE will be placed into status
if any of the devices are already in use.
- Parameters
-
[in] | devices | The device(s) to use for the CaptureSession. |
[out] | status | Optional pointer to return success/status of the call. |
- Returns
- The new CaptureSession, or NULL if an error occurred.
◆ id()
static const InterfaceID& Argus::Ext::IBlockingSessionCameraProvider::id |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: