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 48 uint32_t GetIPAddressCount()
const;
49 PvString GetIPAddress( uint32_t aIndex )
const;
50 PvString GetSubnetMask( uint32_t aIndex )
const;
53 bool IsPleoraDriverInstalled()
const;
57 #ifndef PV_GENERATING_DOXYGEN_DOC 63 PvSystemLib::IPConfigVector *GetIPConfigs() {
return mIPConfigs; }
64 const PvSystemLib::IPConfigVector *GetIPConfigs()
const {
return mIPConfigs; }
66 void SetMAC(
const std::string &aValue ) { *mMAC = aValue; }
67 void SetDescription(
const std::string &aValue ) { *mDescription = aValue; }
68 void SetGateway(
const std::string &aValue ) { *mGateway = aValue; }
70 void SetDriverInstalled(
bool aValue ) { mDriverInstalled = aValue; }
72 #endif // PV_GENERATING_DOXYGEN_DOC 80 std::string *mDescription;
81 std::string *mGateway;
83 PvSystemLib::IPConfigVector *mIPConfigs;
85 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:25
Represents one Ethernet network adapter on a system (the PC)
Definition: PvNetworkAdapter.h:36