eBUS SDK .NET API
  • Getting Started
    • Getting started with the eBUS SDK .NET API
    • Configuring Your IDE
    • Receiving Data from a GigE Vision or USB3 Vision Transmitter
    • Sample Applications
    • GigE Vision Device Communication Parameters
    • USB3 Vision Device Communication Parameters
    • PvStream USB3 Vision Parameters
    • PvStream GigE Vision Parameters
  • eBUS SDK .NET API Reference
    • API Overview
    • eBUSDotNet
    • eBUSDotNetReceive
    • eBUSDotNetEdge
Search Results for

    Show / Hide Table of Contents
      • IPvDeviceAdapter
      • IPvDeviceAdapterSwigInterface
      • IUpdaterObserver
      • OnAcquisitionStateChanged
      • OnBufferCreated
      • OnBufferDeleted
      • OnBufferDisplay
      • OnBufferDone
      • OnBufferLog
      • OnBufferRetrieved
      • OnBufferTextOverlay
      • OnBufferTooSmall
      • OnCmdLinkRead
      • OnCmdLinkReadSafe
      • OnCmdLinkWrite
      • OnCmdLinkWriteSafe
      • OnEvent
      • OnEventGenICam
      • OnEventSafe
      • OnLinkDisconnectedHandler
      • OnLinkReconnectedHandler
      • OnReset
      • OnStart
      • OnStop
      • PvAccessType
      • PvAcquisitionState
      • PvAcquisitionStateEventSink
      • PvAcquisitionStateManager
      • PvActionAckStatusEnum
      • PvBayerFilterType
      • PvBiColorFilterType
      • PvBufferConverter
      • PvBufferConverterRGBFilter
      • PvBufferFormatType
      • PvBufferWriter
      • PvCameraBridge
      • PvCameraBridgeEventSink
      • PvCameraBridgeType
      • PvConfigurationReader
      • PvConfigurationWriter
      • PvDataReceiverType
      • PvDevice
      • PvDeviceAdapter
      • PvDeviceEventSink
      • PvDeviceEventSinkSwigInterface
      • PvDeviceGEV
      • PvDeviceI2CBus
      • PvDevicePleoraProtocol
      • PvDeviceSPIBus
      • PvDeviceSerial
      • PvDeviceSerialPort
      • PvDeviceSerialPortEchoSink
      • PvDeviceU3V
      • PvDisplayThread
      • PvGenFUUpdater
      • PvParity
      • PvPipeline
      • PvPipelineEventSink
      • PvProperty
      • PvPropertyList
      • PvSerialPortConfiguration
      • PvStream
      • PvStreamEventSink
      • PvStreamGEV
      • PvStreamInfo
      • PvStreamRTP
      • PvStreamType
      • PvStreamU3V
      • PvThreadPriority
      • PvTruesenseConverter
      • SWIGTYPE_p_IPvDeviceEventSink
      • SWIGTYPE_p_PvDeinterlacingType
      • SWIGTYPE_p_PvSessionInfoSDP
      • SWIGTYPE_p_PvStringList
      • SWIGTYPE_p_PvTapGeometryEnum
      • SWIGTYPE_p_bool
      • SWIGTYPE_p_double
      • eBUSDotNetReceive

    Class PvDeviceEventSink

    Observer interface for an observable PvDevice object

    Inheritance
    object
    PvDeviceEventSink
    Implements
    PvDeviceEventSinkSwigInterface
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: eBUSDotNetReceive
    Assembly: eBUSDotNetReceive.dll
    Syntax
    public class PvDeviceEventSink : PvDeviceEventSinkSwigInterface, IDisposable

    Constructors

    View Source

    PvDeviceEventSink()

    Constructor.

    Declaration
    public PvDeviceEventSink()

    Fields

    View Source

    swigCMemOwn

    Determines who is responsible for deleting the underlying C++ object.

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    bool

    Methods

    View Source

    Dispose()

    Dispose.

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Dispose

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    View Source

    ~PvDeviceEventSink()

    Destructor.

    Declaration
    protected ~PvDeviceEventSink()
    View Source

    OnCmdLinkRead(byte[], long, long)

    Callback invoked after a port read.

    Declaration
    public virtual void OnCmdLinkRead(byte[] aBuffer, long aAddress, long aLength)
    Parameters
    Type Name Description
    byte[] aBuffer

    Pointer to the data read.

    long aAddress

    Address of the data read on the device.

    long aLength

    Length of the data, in bytes.

    View Source

    OnCmdLinkWrite(byte[], long, long)

    Callback invoked after a port write.

    Declaration
    public virtual void OnCmdLinkWrite(byte[] aBuffer, long aAddress, long aLength)
    Parameters
    Type Name Description
    byte[] aBuffer

    Pointer to the data that was written.

    long aAddress

    Address of the data written to the device.

    long aLength

    Length of the data, in bytes.

    View Source

    OnEvent(PvDevice, ushort, ushort, ulong, ulong, byte[], uint)

    Messaging channel raw event notification.

    Declaration
    public virtual void OnEvent(PvDevice aDevice, ushort aEventID, ushort aChannel, ulong aBlockID, ulong aTimestamp, byte[] aData, uint aDataLength)
    Parameters
    Type Name Description
    PvDevice aDevice

    Pointer to the PvDevice object that triggered the callback.

    ushort aEventID

    Event ID. Some standard event IDs are defined but usually device dependent.

    ushort aChannel

    Streaming channel associated with the event, if any. 0xFFFF is used if the event is not associated to a streaming channel.

    ulong aBlockID

    Streaming block ID associated with the event, if any. Can be used to pair one or more than one event with a block received from a device. 0 is used if the event is not associated to a block.

    ulong aTimestamp

    Timestamp of the event on the time domain of the device. Time unit is defined by the device. 0 if timestamps are not supported by the device that generated the event.

    byte[] aData

    Pointer to Event Data, if applicable. NULL otherwise.

    uint aDataLength

    Data length, in bytes.

    View Source

    OnEventGenICam(PvDevice, ushort, ushort, ulong, ulong, PvGenParameterList)

    Messaging channel GenICam event notification.

    Declaration
    public virtual void OnEventGenICam(PvDevice aDevice, ushort aEventID, ushort aChannel, ulong aBlockID, ulong aTimestamp, PvGenParameterList aData)
    Parameters
    Type Name Description
    PvDevice aDevice

    Pointer to the PvDevice object that triggered the callback.

    ushort aEventID

    Event ID. Some standard event IDs are defined but usually device dependent.

    ushort aChannel

    Streaming channel associated with the event, if any. 0xFFFF is used if the event is not associated to a streaming channel.

    ulong aBlockID

    Streaming block ID associated with the event, if any. Can be used to pair one or more than one event with a block received from a device. 0 is used if the event is not associated to a block.

    ulong aTimestamp

    Timestamp of the event on the time domain of the device. Time unit is defined by the device. 0 if timestamps are not supported by the device that generated the event.

    PvGenParameterList aData

    List containing all parameters invalidated by this event. Can be NULL if the event carried no data or the data was does not invalidate any GenApi parameters of the device.

    View Source

    OnLinkDisconnected(PvDevice)

    Notification that the #PvDevice unexpectedly lost contact with the device.

    Declaration
    public virtual void OnLinkDisconnected(PvDevice aDevice)
    Parameters
    Type Name Description
    PvDevice aDevice

    Pointer to the device object that invoked this callback.

    View Source

    OnLinkReconnected(PvDevice)

    Deprecated, no longer used.

    Declaration
    public virtual void OnLinkReconnected(PvDevice aDevice)
    Parameters
    Type Name Description
    PvDevice aDevice

    Pointer to the device object that invoked this callback.

    Implements

    PvDeviceEventSinkSwigInterface
    IDisposable
    • View Source
    In this article
    Back to top Generated by DocFX