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 |
uint8_t | nrSubscribers () 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 } |
uint8_t | nr_subscribers_ { configuration::NR_SUBSCRIBERS } |
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 116 of file scanner_configuration.h.
|
inline |
Definition at line 141 of file scanner_configuration.h.
|
inline |
Definition at line 151 of file scanner_configuration.h.
|
inline |
Definition at line 101 of file scanner_configuration.h.
|
inline |
Definition at line 161 of file scanner_configuration.h.
|
inline |
Definition at line 111 of file scanner_configuration.h.
|
inline |
Definition at line 106 of file scanner_configuration.h.
|
inline |
Definition at line 146 of file scanner_configuration.h.
|
inlineprivate |
Definition at line 86 of file scanner_configuration.h.
|
inlineprivate |
Definition at line 91 of file scanner_configuration.h.
|
inline |
Definition at line 156 of file scanner_configuration.h.
|
inline |
Definition at line 126 of file scanner_configuration.h.
|
inline |
Definition at line 121 of file scanner_configuration.h.
|
inline |
Definition at line 131 of file scanner_configuration.h.
|
inline |
Definition at line 136 of file scanner_configuration.h.
|
inline |
deprecated: use void hostIp(const uint32_t& host_ip) instead
Definition at line 166 of file scanner_configuration.h.
|
friend |
Definition at line 62 of file scanner_configuration.h.
|
private |
Definition at line 80 of file scanner_configuration.h.
|
private |
Definition at line 82 of file scanner_configuration.h.
|
private |
Definition at line 71 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 81 of file scanner_configuration.h.
|
private |
Definition at line 83 of file scanner_configuration.h.
|
private |
Definition at line 77 of file scanner_configuration.h.
|
private |
Definition at line 78 of file scanner_configuration.h.
|
private |
Definition at line 75 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.