Class PvSoftDeviceGEV
Implements a software-based GigE Vision Device with full GVCP and GVSP support.
Implements
Inherited Members
Namespace: eBUSDotNetEdge
Assembly: eBUSDotNetEdge.dll
Syntax
public class PvSoftDeviceGEV : IPvSoftDeviceGEV, IDisposable
Constructors
View SourcePvSoftDeviceGEV()
Constructor.
Declaration
public PvSoftDeviceGEV()
Methods
View SourceAddStream(IPvSWStreamingChannelSourceSwigInterface)
Adds a new stream to the #PvSoftDeviceGEV.
Declaration
public override PvResult AddStream(IPvSWStreamingChannelSourceSwigInterface aSource)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvSWStreamingChannelSourceSwigInterface | aSource | Interface to a user-provided source. |
Returns
| Type | Description |
|---|---|
| PvResult | Includes:
|
Overrides
View SourceDispose(bool)
Dispose
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
View SourceGetGenICamXMLFile(out string)
Returns the GenICam XML file of the device.
Declaration
public override PvResult GetGenICamXMLFile(out string aString)
Parameters
| Type | Name | Description |
|---|---|---|
| string | aString | [out] String where the XML file is copied. |
Returns
| Type | Description |
|---|---|
| PvResult | Includes:
|
Overrides
View SourceGetInfo()
Obtains the information interface of the #PvSoftDeviceGEV.
Declaration
public override IPvVirtualDeviceGEVInfo GetInfo()
Returns
| Type | Description |
|---|---|
| IPvVirtualDeviceGEVInfo | Information interface of the #PvSoftDeviceGEV or NULL if the device is not running. |
Overrides
View SourceGetMessagingChannel()
Obtains the messaging channel interface of the #PvSoftDeviceGEV.
Declaration
public override IPvMessageChannel GetMessagingChannel()
Returns
| Type | Description |
|---|---|
| IPvMessageChannel | Messaging channel interface of the #PvSoftDeviceGEV or NULL if the device is not running. |
Overrides
View SourceGetRegisterMap()
Obtains the register map interface of the #PvSoftDeviceGEV.
Declaration
public override IPvRegisterMap GetRegisterMap()
Returns
| Type | Description |
|---|---|
| IPvRegisterMap | Register map interface of the #PvSoftDeviceGEV or NULL if the device is not running. |
Overrides
View SourceGetStatistics()
Obtains the statistics interface of the #PvSoftDeviceGEV.
Declaration
public override IPvVirtualDeviceGEVStatistics GetStatistics()
Returns
| Type | Description |
|---|---|
| IPvVirtualDeviceGEVStatistics | Statistics interface of the #PvSoftDeviceGEV or NULL if the device is not running. |
Overrides
View SourceRegisterEventSink(IPvVirtualDeviceGEVEventSink)
Registers an event sink to receive notifications from the #PvSoftDeviceGEV.
Declaration
public override PvResult RegisterEventSink(IPvVirtualDeviceGEVEventSink aEventSink)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvVirtualDeviceGEVEventSink | aEventSink | Pointer to a #PvSoftDeviceGEV event sink. |
Returns
| Type | Description |
|---|---|
| PvResult | Includes:
|
Overrides
View SourceSetActionHandler(IActionHandler)
Sets the action handler for processing action commands.
Declaration
public override PvResult SetActionHandler(IActionHandler aActionHandler)
Parameters
| Type | Name | Description |
|---|---|---|
| IActionHandler | aActionHandler | The action handler implementation. |
Returns
| Type | Description |
|---|---|
| PvResult | PvResult. |
Overrides
View SourceSetGenDCEnabled(bool)
Enables or disables GenDC (Generic Data Container) streaming mode on the transmitter.
Declaration
public override PvResult SetGenDCEnabled(bool aEnabled)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | aEnabled | True to enable GenDC, false to disable. |
Returns
| Type | Description |
|---|---|
| PvResult | PV_OK on success, or an error code on failure. |
Overrides
View SourceSetRTPProtocolEnabled(bool)
Enables the option of using RTP for streaming.
Declaration
public override PvResult SetRTPProtocolEnabled(bool aEnabled)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | aEnabled | Toggles RTP support. |
Returns
| Type | Description |
|---|---|
| PvResult | #PvResult::Code::OK |
Overrides
View SourceSetStreamTimestamping(bool)
Enables stream timestamping on all sources. 'True' by default.
Declaration
public PvResult SetStreamTimestamping(bool aEnabled)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | aEnabled | Toggles stream timestamping. |
Returns
| Type | Description |
|---|---|
| PvResult | #PvResult::Code::OK |
SetTCPTransportEnabled(bool)
Enables experimental TCP transport.
Declaration
public override PvResult SetTCPTransportEnabled(bool aEnabled)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | aEnabled | Toggles TCP support. |
Returns
| Type | Description |
|---|---|
| PvResult | #PvResult::Code::OK |
Overrides
View SourceSetUserSetCount(uint)
Sets the number of user-sets supported by the #PvSoftDeviceGEV.
Declaration
public override PvResult SetUserSetCount(uint aCount)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | aCount | Count of user-sets supported, in addition to the default user-set. |
Returns
| Type | Description |
|---|---|
| PvResult | Includes:
|
Overrides
View SourceSetUserSetNotify(IPvUserSetNotify)
Binds in a class which will contain a callback which will be called when the state of a UsersetLoad/Save changes.
Declaration
public override PvResult SetUserSetNotify(IPvUserSetNotify aUserSetNotify)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvUserSetNotify | aUserSetNotify | The user set notification handler implementation. |
Returns
| Type | Description |
|---|---|
| PvResult | Includes
|
Overrides
View SourceStart(string)
Starts the #PvSoftDeviceGEV.
Declaration
public override PvResult Start(string aMACAddress)
Parameters
| Type | Name | Description |
|---|---|---|
| string | aMACAddress | MAC address of the interface to bind the #PvSoftDeviceGEV to. |
Returns
| Type | Description |
|---|---|
| PvResult | Includes:
|
Overrides
View SourceStop()
Stops the #PvSoftDeviceGEV.
Declaration
public override PvResult Stop()
Returns
| Type | Description |
|---|---|
| PvResult | Includes:
|
Overrides
View SourceUnregisterEventSink(IPvVirtualDeviceGEVEventSink)
Unregisters a previously registered event sink.
Declaration
public override PvResult UnregisterEventSink(IPvVirtualDeviceGEVEventSink aEventSink)
Parameters
| Type | Name | Description |
|---|---|---|
| IPvVirtualDeviceGEVEventSink | aEventSink | Pointer to a #PvSoftDeviceGEV event sink. |
Returns
| Type | Description |
|---|---|
| PvResult | Includes:
|