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
90 uint32_t GetIPAddressCount()
const;
102 PvString GetIPAddress( uint32_t aIndex )
const;
114 PvString GetSubnetMask( uint32_t aIndex )
const;
128 bool IsPleoraDriverInstalled()
const;
132 #ifndef PV_GENERATING_DOXYGEN_DOC
138 PvSystemLib::IPConfigVector *GetIPConfigs() {
return mIPConfigs; }
139 const PvSystemLib::IPConfigVector *GetIPConfigs()
const {
return mIPConfigs; }
141 void SetMAC(
const std::string &aValue ) { *mMAC = aValue; }
142 void SetDescription(
const std::string &aValue ) { *mDescription = aValue; }
143 void SetGateway(
const std::string &aValue ) { *mGateway = aValue; }
145 void SetDriverInstalled(
bool aValue ) { mDriverInstalled = aValue; }
147 #endif // PV_GENERATING_DOXYGEN_DOC
155 std::string *mDescription;
156 std::string *mGateway;
158 PvSystemLib::IPConfigVector *mIPConfigs;
160 bool mDriverInstalled;
161 std::string *mDriverVersion;