Pleora Technologies Inc. eBUS SDK v6.5.1.6797 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 <PvVirtualDeviceLib.h>
11 
12 #include <PvSoftDeviceGEVInterfaces.h>
13 
14 
15 namespace PvVirtualDeviceLib
16 {
17  class ISoftDeviceGEV;
18  class IFactory;
19  class IActionHandler;
20 }
21  class IPvUserSetNotify;
22 
23 
54 class PV_VIRTUAL_DEVICE_API PvSoftDeviceGEV
55  : public IPvSoftDeviceGEV
56 {
57 public:
58 
63 
67  virtual ~PvSoftDeviceGEV();
68 
80 
96 
167  PvResult SetUserSetCount( uint32_t aCount );
168 
177  PvResult SetUserSetNotify( IPvUserSetNotify *aUserSetNotify );
178 
197  PvResult SetTCPTransportEnabled( bool aEnabled );
198 
221  PvResult SetRTPProtocolEnabled( bool aEnabled );
222 
239  PvResult SetStreamTimestamping( bool aEnabled );
240 
246  PvResult SetActionHandler( PvVirtualDeviceLib::IActionHandler *aActionHandler );
247 
263 
279  PvResult Start( const PvString &aMACAddress );
280 
289  PvResult Stop();
290 
299 
314 
330 
344 
358  PvResult GetGenICamXMLFile( PvString &aString ) const;
359 
360 protected:
361 
367  PvSoftDeviceGEV( PvVirtualDeviceLib::IFactory *aFactory );
368 
369  PvVirtualDeviceLib::IFactory *GetFactory() const { return mFactory; }
370  PvVirtualDeviceLib::ISoftDeviceGEV *GetDevice() const { return mThis; }
371 
377  uint32_t GetStreamCount() const;
378 
379 private:
380  PvVirtualDeviceLib::ISoftDeviceGEV *mThis;
381  PvVirtualDeviceLib::IFactory *mFactory;
382 
383 };
384 
385 
386 #endif
Messaging channel interface of the software-based GigE Vision Device.
Definition: PvSoftDeviceGEVInterfaces.h:527
Register map interface for a software-based GigE Vision Device.
Definition: PvSoftDeviceGEVInterfaces.h:1952
Interface that is used by PvSoftDeviceGEV to report internal events.
Definition: PvSoftDeviceGEVInterfaces.h:620
Interface to the main class of the software-based GigE Vision Device.
Definition: PvSoftDeviceGEVInterfaces.h:2878
virtual PvResult AddStream(IPvStreamingChannelSource *aSource)=0
Adds a new stream to the PvSoftDeviceGEV.
virtual IPvSoftDeviceGEVStatistics * GetStatistics()=0
Obtains the statistics interface of the PvSoftDeviceGEV.
virtual IPvSoftDeviceGEVInfo * GetInfo()=0
Obtains the information interface of the PvSoftDeviceGEV.
virtual PvResult RegisterEventSink(IPvSoftDeviceGEVEventSink *aEventSink)=0
Registers an event sink to receive notifications from the PvSoftDeviceGEV.
virtual PvResult SetUserSetCount(uint32_t aCount)=0
Sets the number of user-sets supported by the PvSoftDeviceGEV.
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...
virtual IPvRegisterMap * GetRegisterMap()=0
Obtains the register map interface of the PvSoftDeviceGEV.
virtual PvResult GetGenICamXMLFile(PvString &aString) const =0
Returns the GenICam XML file of the device.
virtual PvResult SetTCPTransportEnabled(bool aEnabled)=0
Enables experimental TCP transport.
virtual PvResult SetRTPProtocolEnabled(bool aEnabled)=0
Enables the option of using RTP for streaming.
virtual PvResult UnregisterEventSink(IPvSoftDeviceGEVEventSink *aEventSink)=0
Unregisters a previously registered event sink.
virtual IPvMessageChannel * GetMessagingChannel()=0
Obtains the messaging channel interface of the PvSoftDeviceGEV.
virtual PvResult Stop()=0
Stops the PvSoftDeviceGEV.
virtual PvResult SetActionHandler(PvVirtualDeviceLib::IActionHandler *aActionHandler)=0
virtual PvResult Start(const PvString &aIpAddress)=0
Starts the PvSoftDeviceGEV.
Interface that is used to customize the identity of a software-based GigE Vision Device.
Definition: PvSoftDeviceGEVInterfaces.h:70
Interface that is used to retrieve control channel statistics from a software-based GigE Vision Devic...
Definition: PvSoftDeviceGEVInterfaces.h:366
Interface that is used by PvSoftDeviceGEV to query and report information from a streaming source imp...
Definition: PvSoftDeviceGEVInterfaces.h:788
An interface to register a state change callback for UserSets.
Definition: IPvUserSetNotify.h:46
Result information.
Definition: PvResult.h:30
Implements a software-based GigE Vision Device with full GVCP and GVSP support.
Definition: PvSoftDeviceGEV.h:56
String class.
Definition: PvString.h:26

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