Pleora Technologies Inc. eBUS SDK v6.4.0.6670 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 
65 class PV_DEVICE_API PvDeviceEventSink
66 {
67 public:
72 
76  virtual ~PvDeviceEventSink();
77 
83  virtual void OnLinkDisconnected( PvDevice *aDevice );
84 
95  virtual void OnLinkReconnected( PvDevice *aDevice );
96 
120  virtual void OnEvent( PvDevice *aDevice,
121  uint16_t aEventID, uint16_t aChannel, uint64_t aBlockID, uint64_t aTimestamp,
122  const void *aData, uint32_t aDataLength );
123 
145  virtual void OnEventGenICam( PvDevice *aDevice,
146  uint16_t aEventID, uint16_t aChannel, uint64_t aBlockID, uint64_t aTimestamp,
147  PvGenParameterList *aData );
148 
149 
168  virtual void OnCmdLinkRead( const void *aBuffer, int64_t aAddress, int64_t aLength );
169 
188  virtual void OnCmdLinkWrite( const void *aBuffer, int64_t aAddress, int64_t aLength );
189 
190 };
191 
192 #endif
Class used to hold a group of PvGenParameter pointers.
Definition: PvGenParameterList.h:58
Observer interface for an observable PvDevice object.
Definition: PvDeviceEventSink.h:65
Connect, configure and control a GigE Vision or USB3 Vision device.
Definition: PvDevice.h:41

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