Higher level data type storing the configuration details of the scanner like scanner IP, port, scan range, etc. More...
#include <scanner_configuration.h>
Public Member Functions | |
uint32_t | clientIp () const |
bool | diagnosticsEnabled () const |
bool | fragmentedScansEnabled () const |
boost::optional< uint32_t > | hostIp () const |
void | hostIp (const uint32_t &host_ip) |
uint16_t | hostUDPPortControl () const |
uint16_t | hostUDPPortData () const |
bool | intensitiesEnabled () const |
uint16_t | scannerControlPort () const |
uint16_t | scannerDataPort () const |
const ScanRange & | scanRange () const |
const util::TenthOfDegree & | scanResolution () const |
void | setHostIp (const uint32_t &host_ip) |
Private Member Functions | |
bool | isComplete () const |
bool | isValid () const |
ScannerConfiguration ()=default | |
Private Attributes | |
bool | diagnostics_enabled_ { configuration::DIAGNOSTICS } |
bool | fragmented_scans_ { configuration::FRAGMENTED_SCANS } |
uint16_t | host_control_port_ { configuration::CONTROL_PORT_OF_HOST_DEVICE } |
uint16_t | host_data_port_ { configuration::DATA_PORT_OF_HOST_DEVICE } |
boost::optional< uint32_t > | host_ip_ |
bool | intensities_enabled_ { configuration::INTENSITIES } |
boost::optional< ScanRange > | scan_range_ {} |
util::TenthOfDegree | scan_resolution_ |
uint16_t | scanner_control_port_ { configuration::CONTROL_PORT_OF_SCANNER_DEVICE } |
uint16_t | scanner_data_port_ { configuration::DATA_PORT_OF_SCANNER_DEVICE } |
boost::optional< uint32_t > | scanner_ip_ |
Friends | |
class | ScannerConfigurationBuilder |
Higher level data type storing the configuration details of the scanner like scanner IP, port, scan range, etc.
If no host IP is set the driver will use the IP of the local machine.
Definition at line 34 of file scanner_configuration.h.
|
privatedefault |
|
inline |
Definition at line 114 of file scanner_configuration.h.
|
inline |
Definition at line 139 of file scanner_configuration.h.
|
inline |
Definition at line 149 of file scanner_configuration.h.
|
inline |
Definition at line 99 of file scanner_configuration.h.
|
inline |
Definition at line 154 of file scanner_configuration.h.
|
inline |
Definition at line 109 of file scanner_configuration.h.
|
inline |
Definition at line 104 of file scanner_configuration.h.
|
inline |
Definition at line 144 of file scanner_configuration.h.
|
inlineprivate |
Definition at line 84 of file scanner_configuration.h.
|
inlineprivate |
Definition at line 89 of file scanner_configuration.h.
|
inline |
Definition at line 124 of file scanner_configuration.h.
|
inline |
Definition at line 119 of file scanner_configuration.h.
|
inline |
Definition at line 129 of file scanner_configuration.h.
|
inline |
Definition at line 134 of file scanner_configuration.h.
|
inline |
deprecated: use void hostIp(const uint32_t& host_ip) instead
Definition at line 159 of file scanner_configuration.h.
|
friend |
Definition at line 61 of file scanner_configuration.h.
|
private |
Definition at line 79 of file scanner_configuration.h.
|
private |
Definition at line 81 of file scanner_configuration.h.
|
private |
Definition at line 70 of file scanner_configuration.h.
|
private |
Definition at line 69 of file scanner_configuration.h.
|
private |
Definition at line 68 of file scanner_configuration.h.
|
private |
Definition at line 80 of file scanner_configuration.h.
|
private |
Definition at line 76 of file scanner_configuration.h.
|
private |
Definition at line 77 of file scanner_configuration.h.
|
private |
Definition at line 74 of file scanner_configuration.h.
|
private |
Definition at line 73 of file scanner_configuration.h.
|
private |
Definition at line 72 of file scanner_configuration.h.