Go to the documentation of this file.
36 #ifndef RCDISCOVER_DEVICEINFO
37 #define RCDISCOVER_DEVICEINFO
60 void set(
const uint8_t *raw,
size_t len);
uint32_t getIP() const
Returns the current IP address of the device.
void clear()
Clears all information.
std::string device_version
bool isValid() const
Checks if the object contains useful information.
void set(const uint8_t *raw, size_t len)
Extracts the RAW GigE Vision information according to the given DISCOVERY_ACK package.
int getMinorVersion() const
Return minor version of device.
uint32_t getSubnetMask() const
Returns the current subnet mask of the device.
const std::string & getManufacturerInfo() const
Returns manufacturer specific information.
std::string manufacturer_info
const std::string & getIfaceName() const
Returns the name of the interface on which this device was found.
bool operator<(const DeviceInfo &info) const
First compares the MAC address, then the interface name.
const std::string & getDeviceVersion() const
Returns the device version.
const std::string & getManufacturerName() const
Returns the manufacturer name.
const std::string & getSerialNumber() const
Returns the serial number.
uint64_t getMAC() const
Returns 6 bytes with the MAC address of the device.
DeviceInfo(std::string iface_name)
std::string serial_number
const std::string & getModelName() const
Returns the model name.
const std::string & getUserName() const
Returns the user name.
uint32_t getGateway() const
Returns the current IP address of the devices gateway.
int getMajorVersion() const
Return major version of device.
std::string manufacturer_name
rcdiscover
Author(s): Heiko Hirschmueller
, Raphael Schaller
autogenerated on Thu Aug 1 2024 02:55:56