Device supporting typed composite streams. More...
Inherits Device.
Public Member Functions | |
| T | GetStream< T > (int streamIndex) |
| Gets the typed stream at the given streamIndex . | |
Public Member Functions inherited from Device | |
| void | Dispose () |
| IDisposable implementation. | |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
| Addition disposal of all open streams. | |
Protected Member Functions inherited from Device | |
| Device (IntPtr handle, string resourceLocator) | |
| Creates the device from the given CVB object handle . | |
Properties | |
| override Guid | DriverGuid [get] |
| Get the globally unique identifier of a CVB driver. | |
| override int | StreamCount [get] |
| Amount of streams of this device. | |
| override Stream | Stream [get] |
| Not supported by this device. Use GetStream<T>(int). | |
| override DeviceImage | DeviceImage [get] |
| GenICamDevice does not support a device image. | |
Properties inherited from Device | |
| 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 | |
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. | |
| 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. | |
Events inherited from INativeHandle | |
| NativeHandleEventDelegate | ObjectDisposing |
| Raised when this object is about to be disposed via the IDisposable.Dispose method. | |
Device supporting typed composite streams.
|
protectedvirtual |
Addition disposal of all open streams.
| disposing | true if called from IDisposable.Dispose. |
Reimplemented from Device.
| T GetStream< T > | ( | int | streamIndex | ) |
Gets the typed stream at the given streamIndex .
| T | Type of the stream to get. |
| streamIndex | Index of the stream to get. |
| ArgumentException | When the given stream type is not supported. |
| InvalidCastException | When the same stream is queried with different types. |
| T | : | CompositeStreamBase |
|
get |
GenICamDevice does not support a device image.
| NotSupportedException |