Impact Acquire SDK Java
VideoStreamPauseScope Class Reference

A smaller helper class for pausing a video stream for a defined time. More...

Public Member Functions

synchronized void delete ()
 
 VideoStreamPauseScope (VideoStream stream)
 Creates a new mvIMPACT.acquire.labs.VideoStreamPauseScope object.
 
 VideoStreamPauseScope (VideoStream stream, boolean boPausedWithinScope)
 Creates a new mvIMPACT.acquire.labs.VideoStreamPauseScope object.
 

Protected Member Functions

void finalize ()
 
 VideoStreamPauseScope (long cPtr, boolean cMemoryOwn)
 

Static Protected Member Functions

static long swigRelease (VideoStreamPauseScope obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

A smaller helper class for pausing a video stream for a defined time.

This class uses a RAII pattern to pause an instance of mvIMPACT.acquire.labs.VideoStream

Since
2.41.0

Constructor & Destructor Documentation

◆ VideoStreamPauseScope() [1/3]

VideoStreamPauseScope ( long cPtr,
boolean cMemoryOwn )
protected

◆ VideoStreamPauseScope() [2/3]

VideoStreamPauseScope ( VideoStream stream,
boolean boPausedWithinScope )

Creates a new mvIMPACT.acquire.labs.VideoStreamPauseScope object.

Trying to pause a stream that is paused already or trying to resume a stream that is not paused will raise an exception! When this object goes out of scope the previous state will be restored automatically.

Parameters
stream[in] The video stream that shall be configured.
boPausedWithinScope[in] The mode the selected video stream shall have while this object is alive.

◆ VideoStreamPauseScope() [3/3]

Creates a new mvIMPACT.acquire.labs.VideoStreamPauseScope object.

Trying to pause a stream that is paused already or trying to resume a stream that is not paused will raise an exception! When this object goes out of scope the previous state will be restored automatically.

Parameters
stream[in] The video stream that shall be configured.

Member Function Documentation

◆ delete()

synchronized void delete ( )

◆ finalize()

void finalize ( )
protected

◆ swigRelease()

static long swigRelease ( VideoStreamPauseScope obj)
staticprotected

Member Data Documentation

◆ swigCMemOwn

transient boolean swigCMemOwn
protected