Class IPvVirtualDeviceGEVEventSink
Interface that is used by #PvSoftDeviceGEV to report internal events.
Implements
Inherited Members
Namespace: eBUSDotNetEdge
Assembly: eBUSDotNetEdge.dll
Syntax
public class IPvVirtualDeviceGEVEventSink : IDisposable
Constructors
View SourceIPvVirtualDeviceGEVEventSink()
Constructor
Declaration
public IPvVirtualDeviceGEVEventSink()
Fields
View SourceswigCMemOwn
Determines who is responsible for deleting the underlying C++ object.
Declaration
protected bool swigCMemOwn
Field Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceDispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Dispose
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
~IPvVirtualDeviceGEVEventSink()
Destructor.
Declaration
protected ~IPvVirtualDeviceGEVEventSink()
OnApplicationConnect(IPvVirtualDeviceGEV, string, ushort, SWIGTYPE_p_PvAccessType)
Notification that a GigE Vision controller has taken ownership of the control channel of your #PvSoftDeviceGEV.
Declaration
public virtual void OnApplicationConnect(IPvVirtualDeviceGEV aDevice, string aIPAddress, ushort aPort, SWIGTYPE_p_PvAccessType aAccessType)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvVirtualDeviceGEV | aDevice | Pointer to the #PvSoftDeviceGEV object that is sending the notification. |
| string | aIPAddress | IP address of the GigE Vision controller in string format, such as "192.168.138.115". |
| ushort | aPort | UDP port of the GigE Vision controller. |
| SWIGTYPE_p_PvAccessType | aAccessType | Access type secured by the GigE Vision controller. |
OnApplicationDisconnect(IPvVirtualDeviceGEV)
Notification that the GigE Vision controller has released the control channel of the #PvSoftDeviceGEV.
Declaration
public virtual void OnApplicationDisconnect(IPvVirtualDeviceGEV aDevice)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvVirtualDeviceGEV | aDevice | Pointer to the #PvSoftDeviceGEV object that is sending the notification. |
OnControlChannelStart(IPvVirtualDeviceGEV, string, string, string, string, ushort)
Notification that the control channel of the #PvSoftDeviceGEV has been started.
Declaration
public virtual void OnControlChannelStart(IPvVirtualDeviceGEV aDevice, string aMACAddress, string aIPAddress, string aMask, string aGateway, ushort aPort)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvVirtualDeviceGEV | aDevice | Pointer to the #PvSoftDeviceGEV object that is sending the notification. |
| string | aMACAddress | MAC address of the local network interface. |
| string | aIPAddress | IP address that the control channel is bound to. |
| string | aMask | Subnet mask of the IP address that the control channel is bound to. |
| string | aGateway | Default gateway of the network interface that is used by the control channel. |
| ushort | aPort | UDP port that the control channel is listening to. Hardcode this value to GigE Vision standard 3956. |
OnControlChannelStop(IPvVirtualDeviceGEV)
Notification that the control channel of the #PvSoftDeviceGEV has been stopped.
Declaration
public virtual void OnControlChannelStop(IPvVirtualDeviceGEV aDevice)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvVirtualDeviceGEV | aDevice | Pointer to the #PvSoftDeviceGEV object that is sending the notification. |
OnCreateCustomGenApiFeatures(IPvVirtualDeviceGEV, IPvGenApiFactory)
Notification that the #PvSoftDeviceGEV should create its custom GenApi parameters, if they are needed.
Declaration
public virtual void OnCreateCustomGenApiFeatures(IPvVirtualDeviceGEV aDevice, IPvGenApiFactory aFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvVirtualDeviceGEV | aDevice | #PvSoftDeviceGEV object that is sending the notification. |
| IPvGenApiFactory | aFactory | GenApi factory that is used to create the new GenApi features. |
OnCreateCustomRegisters(IPvVirtualDeviceGEV, IPvRegisterFactory)
Notification that the #PvSoftDeviceGEV should create its custom registers, if they are needed.
Declaration
public virtual void OnCreateCustomRegisters(IPvVirtualDeviceGEV aDevice, IPvRegisterFactory aFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvVirtualDeviceGEV | aDevice | Pointer to the #PvSoftDeviceGEV object that is sending the notification. |
| IPvRegisterFactory | aFactory | Register factory that is used to create the new registers. |
OnDeviceResetFull(IPvVirtualDeviceGEV)
Notification that the #PvSoftDeviceGEV has performed a full reset.
Declaration
public virtual void OnDeviceResetFull(IPvVirtualDeviceGEV aDevice)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvVirtualDeviceGEV | aDevice | Pointer to the #PvSoftDeviceGEV object that is sending the notification. |
OnDeviceResetNetwork(IPvVirtualDeviceGEV)
Notification that the #PvSoftDeviceGEV has reset its network stack.
Declaration
public virtual void OnDeviceResetNetwork(IPvVirtualDeviceGEV aDevice)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvVirtualDeviceGEV | aDevice | Pointer to the #PvSoftDeviceGEV object that is sending the notification. |