|
Impact Acquire SDK .NET
|
A helper class that can be used to create a simple continuous acquisition from a device. More...
Public Member Functions | |
| void | acquisitionStart () |
| Starts a new continuous acquisition from the mv.impact.acquire.Device associated with this mv.impact.acquire.helper.RequestProvider. | |
| void | acquisitionStop () |
| Stops a continuous acquisition from the mv.impact.acquire.Device associated with this mv.impact.acquire.helper.RequestProvider. | |
| RequestProvider (Device device) | |
| Creates a new mv.impact.acquire.helper.RequestProvider instance. | |
Protected Member Functions | |
| virtual IRequestBuffer | createBuffer (int size, int alignment) |
| Creates a new mv.impact.acquire.helper.IRequestBuffer instance to capture data into. | |
Properties | |
| Device | device [get] |
| A reference to the mv.impact.acquire.Device associated with this mv.impact.acquire.helper.RequestProvider. | |
Events | |
| RequestReadyEventHandler | onRequestReady |
| An event handler for events which are sent to all listeners each time a new mv.impact.acquire.Request became ready. | |
A helper class that can be used to create a simple continuous acquisition from a device.
This class can be used to create a very simple continuous stream of images. Each time a mv.impact.acquire.Request becomes ready an event with an instance of mv.impact.acquire.helper.RequestReadyEventArgs will be raised.
See ContinuousCaptureSimple.cs or mv.impact.acquire.helper.RequestReadyEventArgs for an example how to use this class.
|
inline |
Creates a new mv.impact.acquire.helper.RequestProvider instance.
| [in] | device | A pointer to a mv.impact.acquire.Device object obtained from a mv.impact.acquire.DeviceManager object. |
|
inline |
Starts a new continuous acquisition from the mv.impact.acquire.Device associated with this mv.impact.acquire.helper.RequestProvider.
Once this function has been called data will be captured continuously from the mv.impact.acquire.Device associated with this mv.impact.acquire.helper.RequestProvider. Each time a request is reported as being ready a new mv.impact.acquire.helper.RequestReadyEventArgs event is generated an forwarded to all listeners that have themselves registered to the mv.impact.acquire.helper.RequestProvider.onRequestReady event handler.
|
inline |
Stops a continuous acquisition from the mv.impact.acquire.Device associated with this mv.impact.acquire.helper.RequestProvider.
After stopping the continuous acquisition no mv.impact.acquire.helper.RequestReadyEventArgs events will be generated anymore.
|
inlineprotectedvirtual |
Creates a new mv.impact.acquire.helper.IRequestBuffer instance to capture data into.
This function can be overwritten to install a custom buffer allocator. The default implementation will create instances of mv.impact.acquire.helper.UserSuppliedHeapBuffer.
| [in] | size | The size of the user buffer to allocate in bytes. |
| [in] | alignment | The alignment of the user buffer in bits. |
|
get |
A reference to the mv.impact.acquire.Device associated with this mv.impact.acquire.helper.RequestProvider.
| RequestReadyEventHandler onRequestReady |
An event handler for events which are sent to all listeners each time a new mv.impact.acquire.Request became ready.
This event handler will fire mv.impact.acquire.helper.RequestReadyEventArgs events whenever a mv.impact.acquire.Request is reported as being ready by the device driver.