Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvDeviceInfoGEV.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2013, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVDEVICEINFOGEV_H__
8 #define __PVDEVICEINFOGEV_H__
9 
10 #include <PvDeviceInfo.h>
11 
12 class PV_SYSTEM_API PvDeviceInfoGEV : public PvDeviceInfo
13 {
14 public:
15 
17  virtual ~PvDeviceInfoGEV();
18 
19  PvDeviceInfoGEV &operator=( const PvDeviceInfoGEV &aFrom );
20 
21  PvString GetMACAddress() const;
22  PvString GetIPAddress() const;
23  PvString GetDefaultGateway() const;
24  PvString GetSubnetMask() const;
25 
26  uint32_t GetGEVVersion() const;
27  PvString GetIPConfigOptionsString() const;
28  PvString GetIPConfigCurrentString() const;
29 
30  bool IsLLAAvailable() const;
31  bool IsDHCPAvailable() const;
32  bool IsPersistentAvailable() const;
33  bool IsPRAvailable() const;
34  bool IsPGAvailable() const;
35 
36  bool IsLLAEnabled() const;
37  bool IsDHCPEnabled() const;
38  bool IsPersistentEnabled() const;
39  bool IsPREnabled() const;
40  bool IsPGEnabled() const;
41 
42 protected:
43 
44 #ifndef PV_GENERATING_DOXYGEN_DOC
45 
46  PvDeviceInfoGEV( PvInterface *aInterface );
47 
48  void Init();
49 
50  void SetIPAddress( const std::string &aValue ) { *mIPAddress = aValue; }
51  void SetMACAddress( const std::string &aValue ) { *mMACAddress = aValue; }
52  void SetDefaultGateway( const std::string &aValue ) { *mDefaultGateway = aValue; }
53  void SetSubnetMask( const std::string &aValue ) { *mSubnetMask = aValue; }
54 
55  void SetGEVVersion( uint32_t aValue ) { mGEVVersion = aValue; }
56  void SetIPConfigOptions( uint32_t aValue ) { mIPConfigOptions = aValue; }
57  void SetIPConfigCurrent( uint32_t aValue ) { mIPConfigCurrent = aValue; }
58 
59 #endif // PV_GENERATING_DOXYGEN_DOC
60 
61 private:
62 
63  // Not implemented
65 
66  std::string *mIPAddress;
67  std::string *mMACAddress;
68  std::string *mDefaultGateway;
69  std::string *mSubnetMask;
70 
71  uint32_t mGEVVersion;
72  uint32_t mIPConfigOptions;
73  uint32_t mIPConfigCurrent;
74 
75 };
76 
77 #endif
String class.
Definition: PvString.h:21
Represents one interface (network adapter or USB host controller) on a system (the PC) ...
Definition: PvInterface.h:25
Information identifying a GigE Vision device.
Definition: PvDeviceInfoGEV.h:12
Information identifying a device.
Definition: PvDeviceInfo.h:18

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