Stream Class

CVB.Net Documentation
Represents one acquisition stream of a Device.
Inheritance Hierarchy

SystemObject
  Stemmer.Cvb.DriverStream
    Stemmer.Cvb.DriverIndexedStream

Namespace:  Stemmer.Cvb.Driver
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public abstract class Stream : IAcquisition, 
	IDeviceInterface, IObservable<StreamImage>, IDisposable

The Stream type exposes the following members.

Properties

  NameDescription
Public propertyAcquisitionInterface
Gets or sets the acquisition interface to use on this stream.
Public propertyIsIndexed
Gets whether this stream is an IndexedStream.
Public propertyIsRunning
Gets whether the acquisition is currently active.
Public propertyParent
Gets the parent Device.
Public propertyRingBuffer
Gets the IRingBuffer interface object if present.
Public propertyStatistics
Gets the available device statistics
Top
Methods

  NameDescription
Public methodAbort
Stops the acquisition of images immediately.
Public methodDispose
IDisposable implementation.
Protected methodDispose(Boolean)
IDispose helper function.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Finalizer.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSnapshot
Acquires a single image and returns it.
Public methodGetTimedSnapshot(UsTimeSpan)
Acquires a single image and returns it.
Public methodGetTimedSnapshot(UsTimeSpan, WaitStatus)
As GetTimedSnapshot(UsTimeSpan), but does not throw on timeout.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMakeSnapshotImage
Factory function for creating the returned image from the acquisition engine.
Protected methodMakeStreamImage
Factory function for creating the returned image from the acquisition engine.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodObservableAcquisitionLoop
Protected methodSendCompleteToObservers
Protected methodSendErrorToObservers
Calls OnError(Exception) on all subscribed observers.
Protected methodSendImageToObservers
Calls OnNext(T) with the given image.
Public methodStart
Starts the acquisition.
Public methodStop
Stops the acquisition.
Public methodSubscribe
Notifies this stream that the given observer is to receive new image notifications.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryAbort
Tries to stop the acquisition of images immediately.
Public methodTryStop
Tries to stop the acquisition of images.
Public methodWait
Waits for indefinitely for the next acquired image and returns it.
Public methodWait(WaitStatus)
Waits for indefinitely for the next acquired image and returns it.
Public methodWaitFor(UsTimeSpan)
Waits for the given timeSpan for the next acquired image.
Public methodWaitFor(UsTimeSpan, WaitStatus)
As WaitFor(UsTimeSpan), but does not throw on timeout.
Top
Fields

  NameDescription
Public fieldStatic memberMaxTimeoutValue
Gets the maximal timeout a device normally supports.
Top
Extension Methods

  NameDescription
Public Extension MethodGetSnapshotAsync
Acquires a single image and returns it.
(Defined by AcquisitionExtensions.)
Public Extension MethodGetTimedSnapshotAsync
Acquires a single image and returns it.
(Defined by AcquisitionExtensions.)
Public Extension MethodWaitAsync
Waits infinitely for the next acquired image and returns it.
(Defined by AcquisitionExtensions.)
Public Extension MethodWaitForAsync
Waits for the given timeSpan for the next acquired image.
(Defined by AcquisitionExtensions.)
Top
See Also

Reference