Pleora Technologies Inc. eBUS SDK v5.1.10.4642 API



PvDeviceEventSink.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2012, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVDEVICEEVENTSINK_H__
8 #define __PVDEVICEEVENTSINK_H__
9 
10 #include <PvDevice.h>
11 #include <PvGenParameterList.h>
12 
13 
14 class PvDevice;
15 
16 
17 class PV_DEVICE_API PvDeviceEventSink
18 {
19 public:
20 
22  virtual ~PvDeviceEventSink();
23 
24  // Link disconnected notification
25  virtual void OnLinkDisconnected( PvDevice *aDevice );
26 
27  // Link reconnected notification: deprecated, no longer in use
28  virtual void OnLinkReconnected( PvDevice *aDevice );
29 
30  // Messaging channel events (raw)
31  virtual void OnEvent( PvDevice *aDevice,
32  uint16_t aEventID, uint16_t aChannel, uint64_t aBlockID, uint64_t aTimestamp,
33  const void *aData, uint32_t aDataLength );
34 
35  // Messaging channel events (GenICam)
36  virtual void OnEventGenICam( PvDevice *aDevice,
37  uint16_t aEventID, uint16_t aChannel, uint64_t aBlockID, uint64_t aTimestamp,
38  PvGenParameterList *aData );
39 
40  // GigE Vision command link GenApi::IPort monitoring hooks
41  virtual void OnCmdLinkRead( const void *aBuffer, int64_t aAddress, int64_t aLength );
42  virtual void OnCmdLinkWrite( const void *aBuffer, int64_t aAddress, int64_t aLength );
43 
44 };
45 
46 #endif
Class used to hold a group of PvGenParameter pointers.
Definition: PvGenParameterList.h:23
Observer interface for an observable PvDevice object.
Definition: PvDeviceEventSink.h:17
Connect, configure and control a GigE Vision or USB3 Vision device.
Definition: PvDevice.h:31

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