Pleora Technologies Inc. eBUS SDK v5.1.10.4642 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 
13 class PV_SYSTEM_API PvDeviceInfoGEV : public PvDeviceInfo
14 {
15 public:
16 
18  virtual ~PvDeviceInfoGEV();
19 
20  PvDeviceInfoGEV &operator=( const PvDeviceInfoGEV &aFrom );
21 
22  PvString GetMACAddress() const;
23 
24  PvString GetIPAddress() const;
25  PvString GetDefaultGateway() const;
26  PvString GetSubnetMask() const;
27 
28  uint32_t GetGEVVersion() const;
29 
30 protected:
31 
32 #ifndef PV_GENERATING_DOXYGEN_DOC
33 
34  PvDeviceInfoGEV( PvInterface *aInterface );
35 
36  void Init();
37 
38  void SetIPAddress( const std::string &aValue ) { *mIPAddress = aValue; }
39  void SetMACAddress( const std::string &aValue ) { *mMACAddress = aValue; }
40  void SetDefaultGateway( const std::string &aValue ) { *mDefaultGateway = aValue; }
41  void SetSubnetMask( const std::string &aValue ) { *mSubnetMask = aValue; }
42 
43  void SetGEVVersion( uint32_t aValue ) { mGEVVersion = aValue; }
44 
45 #endif // PV_GENERATING_DOXYGEN_DOC
46 
47 private:
48 
49  // Not implemented
51 
52  std::string *mIPAddress;
53  std::string *mMACAddress;
54  std::string *mDefaultGateway;
55  std::string *mSubnetMask;
56 
57  uint32_t mGEVVersion;
58 
59 };
60 
61 #endif
String class.
Definition: PvString.h:21
Represents one interface (network adapter or USB host controller) on a system (the PC) ...
Definition: PvInterface.h:26
Information identifying a GigE Vision device.
Definition: PvDeviceInfoGEV.h:13
Information identifying a device.
Definition: PvDeviceInfo.h:18

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