Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



PvSoftDeviceGEV.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2011, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVSOFTDEVICEGEV_H__
8 #define __PVSOFTDEVICEGEV_H__
9 
10 #include <PvSoftDeviceGEVLib.h>
11 
12 #include <PvSoftDeviceGEVInterfaces.h>
13 
14 
15 namespace PvVirtualDeviceLib
16 {
17  class IActionHandler;
18 }
19 
20 namespace PvSoftDeviceGEVLib
21 {
22  class SoftDeviceGEV;
23 }
24 
25 class IPvUserSetNotify;
26 
27 
58 class PV_SOFT_DEVICE_GEV_API PvSoftDeviceGEV
59  : public IPvSoftDeviceGEV
60 {
61 public:
62 
67 
71  virtual ~PvSoftDeviceGEV();
72 
83  IPvVirtualDeviceGEVInfo *GetInfo() override;
84 
99  PvResult AddStream( IPvSWStreamingChannelSource * aSource ) override;
100 
171  PvResult SetUserSetCount( uint32_t aCount ) override;
172 
181  PvResult SetUserSetNotify( IPvUserSetNotify *aUserSetNotify ) override;
182 
201  PvResult SetTCPTransportEnabled( bool aEnabled ) override;
202 
225  PvResult SetRTPProtocolEnabled( bool aEnabled ) override;
226 
243  PvResult SetStreamTimestamping( bool aEnabled ); // [MG] NEEDS TO OVERRIDE SOMEWHERE...
244 
252  PvResult SetActionHandler( PvVirtualDeviceLib::IActionHandler *aActionHandler ) override;
253 
268  IPvRegisterMap *GetRegisterMap() override;
269 
285  PvResult Start( const PvString &aMACAddress ) override;
286 
295  PvResult Stop() override;
296 
305 
320 
336 
350 
364  PvResult GetGenICamXMLFile( PvString &aString ) const override;
365 
366  // Todo docs. Turns on/off genDC streaming mode on the transmitter
367  PvResult SetGenDCEnabled( bool aEnabled ) override;
368 protected:
369 
375  uint32_t GetStreamCount() const;
376 
377 private:
378 
379  PvSoftDeviceGEVLib::SoftDeviceGEV *mThis;
380 
381 };
382 
383 
384 #endif
IPvVirtualDeviceGEV::GetInfo
virtual IPvVirtualDeviceGEVInfo * GetInfo()=0
Obtains the information interface of the PvSoftDeviceGEV.
PvResult
Result information.
Definition: PvResult.h:29
PvSoftDeviceGEV
Implements a software-based GigE Vision Device with full GVCP and GVSP support.
Definition: PvSoftDeviceGEV.h:58
IPvSoftDeviceGEV::SetTCPTransportEnabled
virtual PvResult SetTCPTransportEnabled(bool aEnabled)=0
Enables experimental TCP transport.
IPvSWStreamingChannelSource
Definition: PvSoftDeviceGEVInterfaces.h:64
IPvRegisterMap
Register map interface for a software-based GigE Vision Device.
Definition: PvVirtualDeviceGEVInterfaces.h:1909
IPvVirtualDeviceGEVStatistics
Interface that is used to retrieve control channel statistics from a software-based GigE Vision Devic...
Definition: PvVirtualDeviceGEVInterfaces.h:376
IPvVirtualDeviceGEV::SetUserSetCount
virtual PvResult SetUserSetCount(uint32_t aCount)=0
Sets the number of user-sets supported by the PvSoftDeviceGEV.
IPvMessageChannel
Messaging channel interface of the software-based GigE Vision Device.
Definition: PvVirtualDeviceGEVInterfaces.h:537
IPvSoftDeviceGEV::AddStream
virtual PvResult AddStream(IPvSWStreamingChannelSource *aSource)=0
Adds a new stream to the PvSoftDeviceGEV.
IPvUserSetNotify
An interface to register a state change callback for UserSets.
Definition: IPvUserSetNotify.h:32
IPvVirtualDeviceGEV::SetActionHandler
virtual PvResult SetActionHandler(PvVirtualDeviceLib::IActionHandler *aActionHandler)=0
Sets the action handler for the PvSoftDeviceGEV.
IPvSoftDeviceGEV::SetGenDCEnabled
virtual PvResult SetGenDCEnabled(bool aEnabled)=0
Enables the option of using GenDC for streaming.
IPvSoftDeviceGEV::SetRTPProtocolEnabled
virtual PvResult SetRTPProtocolEnabled(bool aEnabled)=0
Enables the option of using RTP for streaming.
PvString
String class.
Definition: PvString.h:25
IPvVirtualDeviceGEV::UnregisterEventSink
virtual PvResult UnregisterEventSink(IPvVirtualDeviceGEVEventSink *aEventSink)=0
Unregisters a previously registered event sink.
IPvVirtualDeviceGEV::GetStatistics
virtual IPvVirtualDeviceGEVStatistics * GetStatistics()=0
Obtains the statistics interface of the PvSoftDeviceGEV.
IPvVirtualDeviceGEVEventSink
Interface that is used by PvSoftDeviceGEV to report internal events.
Definition: PvVirtualDeviceGEVInterfaces.h:630
IPvVirtualDeviceGEV::GetMessagingChannel
virtual IPvMessageChannel * GetMessagingChannel()=0
Obtains the messaging channel interface of the PvSoftDeviceGEV.
IPvVirtualDeviceGEV::Start
virtual PvResult Start(const PvString &aMACAddress)=0
Starts the PvSoftDeviceGEV.
IPvSoftDeviceGEV
Interface to the main class of the software-based GigE Vision Device.
Definition: PvSoftDeviceGEVInterfaces.h:263
IPvVirtualDeviceGEV::SetUserSetNotify
virtual PvResult SetUserSetNotify(IPvUserSetNotify *aUserSetNotify)=0
Binds in a class which will contain a callback which will be called when the state of a UsersetLoad/S...
IPvVirtualDeviceGEV::RegisterEventSink
virtual PvResult RegisterEventSink(IPvVirtualDeviceGEVEventSink *aEventSink)=0
Registers an event sink to receive notifications from the PvSoftDeviceGEV.
IPvVirtualDeviceGEVInfo
Interface that is used to customize the identity of a software-based GigE Vision Device.
Definition: PvVirtualDeviceGEVInterfaces.h:72
IPvVirtualDeviceGEV::GetRegisterMap
virtual IPvRegisterMap * GetRegisterMap()=0
Obtains the register map interface of the PvSoftDeviceGEV.
IPvVirtualDeviceGEV::Stop
virtual PvResult Stop()=0
Stops the PvSoftDeviceGEV.
IPvVirtualDeviceGEV::GetGenICamXMLFile
virtual PvResult GetGenICamXMLFile(PvString &aString) const =0
Returns the GenICam XML file of the device.

Copyright (c) 2002-2026 Pleora Technologies Inc.
www.pleora.com