Pleora Technologies Inc. eBUS SDK v6.4.0.6670 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 
18 class PV_SYSTEM_API PvDeviceInfoGEV : public PvDeviceInfo
19 {
20 public:
21 
26 
30  virtual ~PvDeviceInfoGEV();
31 
39  PvDeviceInfoGEV &operator=( const PvDeviceInfoGEV &aFrom );
40 
47  PvString GetMACAddress() const;
48 
55  PvString GetIPAddress() const;
56 
62  PvString GetDefaultGateway() const;
63 
69  PvString GetSubnetMask() const;
70 
78  uint32_t GetGEVVersion() const;
79 
86  PvString GetIPConfigOptionsString() const;
87 
94  PvString GetIPConfigCurrentString() const;
95 
101  bool IsLLAAvailable() const;
102 
108  bool IsDHCPAvailable() const;
109 
115  bool IsPersistentAvailable() const;
116 
122  bool IsPRAvailable() const;
123 
129  bool IsPGAvailable() const;
130 
136  bool IsLLAEnabled() const;
137 
143  bool IsDHCPEnabled() const;
144 
150  bool IsPersistentEnabled() const;
151 
157  bool IsPREnabled() const;
158 
164  bool IsPGEnabled() const;
165 
166 protected:
167 
168 #ifndef PV_GENERATING_DOXYGEN_DOC
169 
170  PvDeviceInfoGEV( PvInterface *aInterface );
171 
172  void Init();
173 
174  void SetIPAddress( const std::string &aValue ) { *mIPAddress = aValue; }
175  void SetMACAddress( const std::string &aValue ) { *mMACAddress = aValue; }
176  void SetDefaultGateway( const std::string &aValue ) { *mDefaultGateway = aValue; }
177  void SetSubnetMask( const std::string &aValue ) { *mSubnetMask = aValue; }
178 
179  void SetGEVVersion( uint32_t aValue ) { mGEVVersion = aValue; }
180  void SetIPConfigOptions( uint32_t aValue ) { mIPConfigOptions = aValue; }
181  void SetIPConfigCurrent( uint32_t aValue ) { mIPConfigCurrent = aValue; }
182 
183 #endif // PV_GENERATING_DOXYGEN_DOC
184 
185 private:
186 
187  // Not implemented
188  PvDeviceInfoGEV( const PvDeviceInfoGEV & );
189 
190  std::string *mIPAddress;
191  std::string *mMACAddress;
192  std::string *mDefaultGateway;
193  std::string *mSubnetMask;
194 
195  uint32_t mGEVVersion;
196  uint32_t mIPConfigOptions;
197  uint32_t mIPConfigCurrent;
198 
199 };
200 
201 #endif
PvInterface
Represents one interface (network adapter or USB host controller) on a system (the PC)
Definition: PvInterface.h:32
PvString
String class.
Definition: PvString.h:25
PvDeviceInfoGEV
Information identifying a GigE Vision device.
Definition: PvDeviceInfoGEV.h:18
PvDeviceInfo
Information identifying a device.
Definition: PvDeviceInfo.h:26

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