Virtual GigE Vision device. More...
#include <PvVirtualDeviceGEV.h>
Public Member Functions | |
| PvVirtualDeviceGEV () | |
| Constructor. | |
| ~PvVirtualDeviceGEV () | |
| Destructor. | |
| PvResult | SetGEVSpecificationVersion (uint16_t aMajor, uint16_t aMinor) |
| Set the version of the GigE Vision standard for the virtual device. | |
| PvResult | GetGEVSpecificationVersion (uint16_t &aMajor, uint16_t &aMinor) |
| Get the current GigE Vision standard version used by the virtual device. | |
| PvResult | SetGVCPCapabilityPacketResendCommandSupported (bool aValue) |
| Configure support for the packet resend command (GigE Vision 2.0+). | |
| bool | GetGVCPCapabilityPacketResendCommandSupported () |
| Get the current configuration for packet resend command support. | |
| PvResult | SetDeviceVersion (const PvString &aDeviceVersion) |
| Set the device version string (first 32 bytes are used). | |
| PvString | GetDeviceVersion () |
| Get the device version. | |
| PvResult | SetSerialNumber (const PvString &aSerialNumber) |
| Set the serial number string (first 16 bytes are used). | |
| PvString | GetSerialNumber () |
| Get the serial number. | |
| PvResult | SetManufacturerName (const PvString &aManufacturerName) |
| Set the manufacturer name string (first 32 bytes are used). | |
| PvString | GetManufacturerName () |
| Get the manufacturer name. | |
| PvResult | SetModelName (const PvString &aModelName) |
| Set the model name string (first 32 bytes are used). | |
| PvString | GetModelName () |
| Get the model name. | |
| PvResult | AddTransmitterGEV (IPvTransmitterGEV *aTransmitterGEV) |
| Add the GVSP transmitter that will issue resend requests. | |
| PvResult | StartListening (PvString aIPAddress) |
| Begin responding to GVCP traffic on the specified network interface. | |
| void | StopListening () |
| Stop responding to GVCP traffic and close the connection. | |
| uint32_t | GetDevicePortThreadPriority () const |
| Get the priority of the thread used for the GigE Vision control channel. | |
| PvResult | SetDevicePortThreadPriority (uint32_t aPriority) |
| Set the priority of the thread used for the GigE Vision control channel. | |
Virtual GigE Vision device.
Used to provide basic GigE Vision device capabilities such as device discovery. Can complement the PvTransmitterGEV class by allowing one to open a data receiver connection to it using PvStream. For a full Software GigE Vision Device implementation, look at PvSoftDeviceGEV.
| PvResult PvVirtualDeviceGEV::AddTransmitterGEV | ( | IPvTransmitterGEV * | aTransmitterGEV | ) |
Add the GVSP transmitter that will issue resend requests.
The order of addition enforces the stream index.
| [in] | aTransmitterGEV | Instance of PvTransmitterGEV. |
| uint32_t PvVirtualDeviceGEV::GetDevicePortThreadPriority | ( | ) | const |
Get the priority of the thread used for the GigE Vision control channel.
| PvString PvVirtualDeviceGEV::GetDeviceVersion | ( | ) |
Get the device version.
| PvResult PvVirtualDeviceGEV::GetGEVSpecificationVersion | ( | uint16_t & | aMajor, |
| uint16_t & | aMinor | ||
| ) |
Get the current GigE Vision standard version used by the virtual device.
| [out] | aMajor | Major version. |
| [out] | aMinor | Minor version. |
| bool PvVirtualDeviceGEV::GetGVCPCapabilityPacketResendCommandSupported | ( | ) |
Get the current configuration for packet resend command support.
| PvString PvVirtualDeviceGEV::GetManufacturerName | ( | ) |
Get the manufacturer name.
| PvString PvVirtualDeviceGEV::GetModelName | ( | ) |
Get the model name.
| PvString PvVirtualDeviceGEV::GetSerialNumber | ( | ) |
Get the serial number.
| PvResult PvVirtualDeviceGEV::SetDevicePortThreadPriority | ( | uint32_t | aPriority | ) |
Set the priority of the thread used for the GigE Vision control channel.
This thread handles reads, device discoveries, etc. Changing priorities may impact stability.
| [in] | aPriority | Supported values described in PvPipeline::SetBufferHandlingThreadPriority. |
Set the device version string (first 32 bytes are used).
| [in] | aDeviceVersion | New version string. |
| PvResult PvVirtualDeviceGEV::SetGEVSpecificationVersion | ( | uint16_t | aMajor, |
| uint16_t | aMinor | ||
| ) |
Set the version of the GigE Vision standard for the virtual device.
By default, version 2.0 is used, providing access to the latest features, including extended chunk data.
| [in] | aMajor | Major version number of the GigE Vision standard. |
| [in] | aMinor | Minor version number of the GigE Vision standard. |
| PvResult PvVirtualDeviceGEV::SetGVCPCapabilityPacketResendCommandSupported | ( | bool | aValue | ) |
Configure support for the packet resend command (GigE Vision 2.0+).
| [in] | aValue | True to support packet resend commands. |
Set the manufacturer name string (first 32 bytes are used).
| [in] | aManufacturerName | Manufacturer name string. |
Set the model name string (first 32 bytes are used).
| [in] | aModelName | Model name string. |
Set the serial number string (first 16 bytes are used).
| [in] | aSerialNumber | Serial number string. |
Begin responding to GVCP traffic on the specified network interface.
| [in] | aIPAddress | IP address the virtual device listens on (e.g. 192.168.1.114). |
Copyright (c) 2002-2026 Pleora Technologies Inc.
www.pleora.com