CVB.Net 14.0
NonStreamingDevice Class Reference

A Device representing a device without any streaming capabilities. More...

Inherits Device.

Static Public Attributes

static readonly Guid Guid = new Guid("{BC2B54C0-172E-49DD-863E-A04C8C6A757E}")
 This assembly's fake System.Guid for non-streaming devices. More...
 

Properties

override DeviceImage DeviceImage [get]
 Device image is not supported on devices without acquisition streams. More...
 
override Guid DriverGuid [get]
 Get the globally unique identifier of a CVB driver. More...
 
override Stream Stream [get]
 Returns null. This device does not have a stream.
 
override int StreamCount [get]
 Number of streams of this device. Always 0.
 
- Properties inherited from Device
bool IsDisposed [get]
 Tests if the native handle has already been disposed. More...
 
IntPtr Handle [get]
 Gets the native CVB object handle. More...
 
string ResourceLocator [get]
 Gets the access token or path of the file name including its extension. More...
 
virtual Guid DriverGuid [get]
 Get the globally unique identifier of a CVB driver. More...
 
virtual TriggerState TriggerMode [get, set]
 Gets or sets the trigger mode of the device if possible. More...
 
abstract int StreamCount [get]
 Number of streams this device has.
 
abstract Driver.Stream Stream [get]
 Convenience property to access the first stream if present. More...
 
abstract DeviceImage DeviceImage [get]
 Gets, if available, the device image pointing to the latest synchronized image. More...
 
virtual IDeviceControl DeviceControl [get]
 Gets the IDeviceControl interface if present. More...
 
virtual IDigitalIO DigitalIO [get]
 Gets the IDigitalIO interface object if present. More...
 
virtual ISoftwareTrigger SoftwareTrigger [get]
 Gets the ISoftwareTrigger interface object if present. More...
 
DeviceNodeMapDictionary NodeMaps [get]
 Gets the dictionary holding all available NodeMaps. More...
 
virtual IRegPort RegPort [get]
 Gets the register port interface of this device if present. More...
 
virtual IImageRect ImageRect [get]
 Gets the IImageRect interface object if present. More...
 
NotifyDictionary Notify [get]
 Gets the INotify INotifyObservables if present. More...
 
virtual ConnectionState ConnectionState [get, protected set]
 Gets the current Cvb.ConnectionState of this Device object.
 
- Properties inherited from INativeHandle
IntPtr Handle [get]
 The native handle of the object.
 
bool IsDisposed [get]
 Possibility to check whether the object has already been disposed of.
 

Additional Inherited Members

- Public Member Functions inherited from Device
void Dispose ()
 IDisposable implementation. More...
 
- Protected Member Functions inherited from Device
 Device (IntPtr handle, string resourceLocator)
 Creates the device from the given CVB object handle . More...
 
virtual void Dispose (bool disposing)
 IDispose helper function. More...
 
- Protected Attributes inherited from Device
readonly object LockAnchor = new object()
 Lock anchor for device specific thread synchronization.
 
- Events inherited from Device
NativeHandleEventDelegate ObjectDisposing
 Raised when this object is about to be disposed via the IDisposable.Dispose method. More...
 
EventHandler< PropertyValueChangedEventArgs< IntPtr > > HandleChange
 Fired if the native Handle changes due to an operation. More...
 
EventHandler< ConnectionStateChangeEventArgsConnectionStateChanged
 Event that is fired when the ConnectionState changes.
 
- Events inherited from INativeHandle
NativeHandleEventDelegate ObjectDisposing
 Raised when this object is about to be disposed via the IDisposable.Dispose method.
More...
 

Detailed Description

A Device representing a device without any streaming capabilities.

Member Data Documentation

◆ Guid

readonly Guid Guid = new Guid("{BC2B54C0-172E-49DD-863E-A04C8C6A757E}")
static

This assembly's fake System.Guid for non-streaming devices.

Non-streaming devices have no grabber interface and thus no System.Guid. For DeviceFactory book-keeping we define our own Guid.

Property Documentation

◆ DeviceImage

override DeviceImage DeviceImage
get

Device image is not supported on devices without acquisition streams.

Always null.

◆ DriverGuid

override Guid DriverGuid
get

Get the globally unique identifier of a CVB driver.

This device resides in no driver and thus we use our fake Guid.

Fake Guid. See Guid for additional details.

Exceptions
ObjectDisposedExceptionIf this device has already been disposed.