A Device representing a video stream from the hard disk. More...
Inherits Device.
Static Public Attributes | |
static readonly UsTimeSpan | DefaultTimeoutValue = UsTimeSpan.FromMilliseconds(1500) |
Default timeout value for the Stream.WaitFor(UsTimeSpan) methods. | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Additionally disposes the associated VideoImage if present. | |
![]() | |
Device (IntPtr handle, string resourceLocator) | |
Creates the device from the given CVB object handle . | |
Properties | |
PlaybackMode | PlaybackMode [get, set] |
Gets or sets how images are delivered by the stream. | |
override int | StreamCount [get] |
Number of streams of this device. | |
override Stream | Stream [get] |
The stream of this device. | |
double | ReplayRateMin [get] |
Gets the minimal possible replay rate. | |
double | ReplayRateMax [get] |
Gets the maximal possible replay rate. | |
double | ReplayRate [get, set] |
Gets or sets the current replay rate. | |
VideoImage | VideoImage [get] |
Gets the VideoImage of this video device. | |
override DeviceImage | DeviceImage [get] |
Alias for the VideoImage property. | |
![]() | |
bool | IsDisposed [get] |
Tests if the native handle has already been disposed. | |
IntPtr | Handle [get] |
Gets the native CVB object handle. | |
string | ResourceLocator [get] |
Gets the access token or path of the file name including its extension. | |
virtual Guid | DriverGuid [get] |
Get the globally unique identifier of a CVB driver. | |
virtual TriggerState | TriggerMode [get, set] |
Gets or sets the trigger mode of the device if possible. | |
int | StreamCount [get] |
Number of streams this device has. | |
Driver.Stream | Stream [get] |
Convenience property to access the first stream if present. | |
DeviceImage | DeviceImage [get] |
Gets, if available, the device image pointing to the latest synchronized image. | |
virtual IDeviceControl | DeviceControl [get] |
Gets the IDeviceControl interface if present. | |
virtual IDigitalIO | DigitalIO [get] |
Gets the IDigitalIO interface object if present. | |
virtual ISoftwareTrigger | SoftwareTrigger [get] |
Gets the ISoftwareTrigger interface object if present. | |
DeviceNodeMapDictionary | NodeMaps [get] |
Gets the dictionary holding all available NodeMaps. | |
virtual IRegPort | RegPort [get] |
Gets the register port interface of this device if present. | |
virtual IImageRect | ImageRect [get] |
Gets the IImageRect interface object if present. | |
NotifyDictionary | Notify [get] |
Gets the INotify INotifyObservables if present. | |
virtual ConnectionState | ConnectionState [get, protected set] |
Gets the current Cvb.ConnectionState of this Device object. | |
Additional Inherited Members | |
![]() | |
void | Dispose () |
IDisposable implementation. | |
![]() | |
readonly object | LockAnchor = new object() |
Lock anchor for device specific thread synchronization. | |
![]() | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. | |
EventHandler< PropertyValueChangedEventArgs< IntPtr > > | HandleChange |
Fired if the native Handle changes due to an operation. | |
EventHandler< ConnectionStateChangeEventArgs > | ConnectionStateChanged |
Event that is fired when the ConnectionState changes. | |
![]() | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. | |
A Device representing a video stream from the hard disk.
|
protectedvirtual |
Additionally disposes the associated VideoImage if present.
disposing |
Reimplemented from Device.
|
getset |
Gets or sets how images are delivered by the stream.
InvalidOperationException | Changing the acquisition interface while grabbing is not allowed. |
|
getset |
Gets or sets the current replay rate.
The replay rate must be in between ReplayRateMin and ReplayRateMax and is a factor that is applied to the individual frame time.
|
get |
Gets the VideoImage
of this video device.
The returned video image always points to the current location of the video stream.
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.