Pleora Technologies Inc. eBUS SDK v5.1.10.4642 API



PvSystem.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2008, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVSYSTEM_H__
8 #define __PVSYSTEM_H__
9 
10 #include <PvSystemEventSink.h>
11 #include <PvNetworkAdapter.h>
12 #include <PvUSBHostController.h>
13 
14 
15 namespace PvSystemLib
16 {
17  class System;
18 };
19 
20 
21 class PV_SYSTEM_API PvSystem
22 {
23 public:
24 
25  PvSystem();
26  virtual ~PvSystem();
27 
28  PvResult Find();
29  PvResult FindDevice( const PvString &aDeviceToFind, const PvDeviceInfo **aDeviceInfo );
30 
31  void SetDetectionTimeout( uint32_t aTimeout );
32  uint32_t GetDetectionTimeout() const;
33 
34  void SetSubnetBroadcastEnabled( bool aValue );
35  bool GetSubnetBroadcastEnabled() const;
36 
37  uint32_t GetGEVSupportedVersion() const;
38  uint32_t GetU3VSupportedVersion() const;
39 
40  PvResult RegisterEventSink( PvSystemEventSink *aEventSink );
41  PvResult UnregisterEventSink( PvSystemEventSink *aEventSink );
42 
43  uint32_t GetInterfaceCount() const;
44  const PvInterface *GetInterface( uint32_t aIndex ) const;
45 
46  uint32_t GetDeviceCount() const;
47  const PvDeviceInfo *GetDeviceInfo( uint32_t aIndex ) const;
48 
49 protected:
50 
51 private:
52 
53  // Not implemented
54  PvSystem( const PvSystem & );
55  const PvSystem &operator=( const PvSystem & );
56 
57  PvSystemLib::System *mThis;
58 
59 };
60 
61 #endif
Definition: PvInterface.h:14
String class.
Definition: PvString.h:21
Result information.
Definition: PvResult.h:13
Observer interface for an observable PvSystem object.
Definition: PvSystemEventSink.h:17
Represents one interface (network adapter or USB host controller) on a system (the PC) ...
Definition: PvInterface.h:26
Information identifying a device.
Definition: PvDeviceInfo.h:18
Find interfaces (network adapters or USB host controllers) and devices reachable from this PC...
Definition: PvSystem.h:21

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