7 #ifndef __PVNETWORKADAPTER_H__ 8 #define __PVNETWORKADAPTER_H__ 10 #include <PvSystemLib.h> 11 #include <PvInterface.h> 12 #include <PvDeviceInfoGEV.h> 13 #include <PvDeviceInfoPleoraProtocol.h> 18 #ifndef PV_GENERATING_DOXYGEN_DOC 25 std::string mIPAddress;
26 std::string mSubnetMask;
29 typedef std::vector<IPConfig> IPConfigVector;
30 typedef std::vector<std::string> GatewayVector;
33 #endif // PV_GENERATING_DOXYGEN_DOC 45 uint32_t GetIPAddressCount()
const;
46 PvString GetIPAddress( uint32_t aIndex )
const;
47 PvString GetSubnetMask( uint32_t aIndex )
const;
50 bool IsPleoraDriverInstalled()
const;
54 #ifndef PV_GENERATING_DOXYGEN_DOC 61 PvSystemLib::IPConfigVector *GetIPConfigs() {
return mIPConfigs; }
62 const PvSystemLib::IPConfigVector *GetIPConfigs()
const {
return mIPConfigs; }
64 void SetMAC(
const std::string &aValue ) { *mMAC = aValue; }
65 void SetDescription(
const std::string &aValue ) { *mDescription = aValue; }
66 void SetGateway(
const std::string &aValue ) { *mGateway = aValue; }
68 void SetDriverInstalled(
bool aValue ) { mDriverInstalled = aValue; }
70 #endif // PV_GENERATING_DOXYGEN_DOC 79 std::string *mDescription;
80 std::string *mGateway;
82 PvSystemLib::IPConfigVector *mIPConfigs;
84 bool mDriverInstalled;
Definition: PvInterface.h:14
String class.
Definition: PvString.h:21
Represents one interface (network adapter or USB host controller) on a system (the PC) ...
Definition: PvInterface.h:26
Represents one Ethernet network adapter on a system (the PC)
Definition: PvNetworkAdapter.h:36