#include <deviceinfo.h>
Definition at line 46 of file deviceinfo.h.
 
◆ DeviceInfo()
  
  | 
        
          | rcdiscover::DeviceInfo::DeviceInfo | ( | std::string | iface_name | ) |  |  | explicit | 
 
 
◆ clear()
      
        
          | void rcdiscover::DeviceInfo::clear | ( |  | ) |  | 
      
 
 
◆ getDeviceVersion()
  
  | 
        
          | const std::string& rcdiscover::DeviceInfo::getDeviceVersion | ( |  | ) | const |  | inline | 
 
Returns the device version. 
- Returns
- Device version. 
Definition at line 144 of file deviceinfo.h.
 
 
◆ getGateway()
  
  | 
        
          | uint32_t rcdiscover::DeviceInfo::getGateway | ( |  | ) | const |  | inline | 
 
Returns the current IP address of the devices gateway. 
- Returns
- 4 bytes with an IPv4 address. 
Definition at line 120 of file deviceinfo.h.
 
 
◆ getIfaceName()
  
  | 
        
          | const std::string& rcdiscover::DeviceInfo::getIfaceName | ( |  | ) | const |  | inline | 
 
Returns the name of the interface on which this device was found. 
Definition at line 180 of file deviceinfo.h.
 
 
◆ getIP()
  
  | 
        
          | uint32_t rcdiscover::DeviceInfo::getIP | ( |  | ) | const |  | inline | 
 
Returns the current IP address of the device. 
- Returns
- 4 bytes with an IPv4 address. 
Definition at line 104 of file deviceinfo.h.
 
 
◆ getMAC()
  
  | 
        
          | uint64_t rcdiscover::DeviceInfo::getMAC | ( |  | ) | const |  | inline | 
 
Returns 6 bytes with the MAC address of the device. 
- Returns
- Pointer to 6 bytes with the MAC address. 
Definition at line 96 of file deviceinfo.h.
 
 
◆ getMajorVersion()
  
  | 
        
          | int rcdiscover::DeviceInfo::getMajorVersion | ( |  | ) | const |  | inline | 
 
Return major version of device. 
- Returns
- Major version. 
Definition at line 80 of file deviceinfo.h.
 
 
◆ getManufacturerInfo()
  
  | 
        
          | const std::string& rcdiscover::DeviceInfo::getManufacturerInfo | ( |  | ) | const |  | inline | 
 
Returns manufacturer specific information. 
- Returns
- Manufacturer info. 
Definition at line 152 of file deviceinfo.h.
 
 
◆ getManufacturerName()
  
  | 
        
          | const std::string& rcdiscover::DeviceInfo::getManufacturerName | ( |  | ) | const |  | inline | 
 
Returns the manufacturer name. 
- Returns
- Manufacturer name. 
Definition at line 128 of file deviceinfo.h.
 
 
◆ getMinorVersion()
  
  | 
        
          | int rcdiscover::DeviceInfo::getMinorVersion | ( |  | ) | const |  | inline | 
 
Return minor version of device. 
- Returns
- Minor version. 
Definition at line 88 of file deviceinfo.h.
 
 
◆ getModelName()
  
  | 
        
          | const std::string& rcdiscover::DeviceInfo::getModelName | ( |  | ) | const |  | inline | 
 
Returns the model name. 
- Returns
- Model name. 
Definition at line 136 of file deviceinfo.h.
 
 
◆ getSerialNumber()
  
  | 
        
          | const std::string& rcdiscover::DeviceInfo::getSerialNumber | ( |  | ) | const |  | inline | 
 
Returns the serial number. 
- Returns
- Serial number. 
Definition at line 160 of file deviceinfo.h.
 
 
◆ getSubnetMask()
  
  | 
        
          | uint32_t rcdiscover::DeviceInfo::getSubnetMask | ( |  | ) | const |  | inline | 
 
Returns the current subnet mask of the device. 
- Returns
- 4 bytes with an IPv4 subnet mask. 
Definition at line 112 of file deviceinfo.h.
 
 
◆ getUserName()
  
  | 
        
          | const std::string& rcdiscover::DeviceInfo::getUserName | ( |  | ) | const |  | inline | 
 
Returns the user name. 
- Returns
- User name. 
Definition at line 168 of file deviceinfo.h.
 
 
◆ isValid()
  
  | 
        
          | bool rcdiscover::DeviceInfo::isValid | ( |  | ) | const |  | inline | 
 
Checks if the object contains useful information. 
Definition at line 72 of file deviceinfo.h.
 
 
◆ operator<()
  
  | 
        
          | bool rcdiscover::DeviceInfo::operator< | ( | const DeviceInfo & | info | ) | const |  | inline | 
 
First compares the MAC address, then the interface name. 
Definition at line 174 of file deviceinfo.h.
 
 
◆ set()
      
        
          | void rcdiscover::DeviceInfo::set | ( | const uint8_t * | raw, | 
        
          |  |  | size_t | len | 
        
          |  | ) |  |  | 
      
 
Extracts the RAW GigE Vision information according to the given DISCOVERY_ACK package. 
- Parameters
- 
  
    | raw | Pointer to raw message body, excluding header. |  | len | Length of body as specified in the header. |  
 
Definition at line 79 of file deviceinfo.cc.
 
 
◆ device_version
  
  | 
        
          | std::string rcdiscover::DeviceInfo::device_version |  | private | 
 
 
◆ gateway
  
  | 
        
          | uint32_t rcdiscover::DeviceInfo::gateway |  | private | 
 
 
◆ iface_name
  
  | 
        
          | std::string rcdiscover::DeviceInfo::iface_name |  | private | 
 
 
◆ ip
  
  | 
        
          | uint32_t rcdiscover::DeviceInfo::ip |  | private | 
 
 
◆ mac
  
  | 
        
          | uint64_t rcdiscover::DeviceInfo::mac |  | private | 
 
 
◆ major
  
  | 
        
          | int rcdiscover::DeviceInfo::major |  | private | 
 
 
◆ manufacturer_info
  
  | 
        
          | std::string rcdiscover::DeviceInfo::manufacturer_info |  | private | 
 
 
◆ manufacturer_name
  
  | 
        
          | std::string rcdiscover::DeviceInfo::manufacturer_name |  | private | 
 
 
◆ minor
  
  | 
        
          | int rcdiscover::DeviceInfo::minor |  | private | 
 
 
◆ model_name
  
  | 
        
          | std::string rcdiscover::DeviceInfo::model_name |  | private | 
 
 
◆ serial_number
  
  | 
        
          | std::string rcdiscover::DeviceInfo::serial_number |  | private | 
 
 
◆ subnet
  
  | 
        
          | uint32_t rcdiscover::DeviceInfo::subnet |  | private | 
 
 
◆ user_name
  
  | 
        
          | std::string rcdiscover::DeviceInfo::user_name |  | private | 
 
 
The documentation for this class was generated from the following files: