Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



Loading...
Searching...
No Matches
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
18class PV_SYSTEM_API PvDeviceInfoGEV : public PvDeviceInfo
19{
20public:
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
166protected:
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
185private:
186
187 // Not implemented
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
Information identifying a GigE Vision device.
Definition PvDeviceInfoGEV.h:19
Information identifying a device.
Definition PvDeviceInfo.h:27
Represents one interface (network adapter or USB host controller) on a system (the PC)
Definition PvInterface.h:33
String class.
Definition PvString.h:26

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