standalone
src
data_conversion_layer
start_request.cpp
Go to the documentation of this file.
1
// Copyright (c) 2020-2021 Pilz GmbH & Co. KG
2
//
3
// This program is free software: you can redistribute it and/or modify
4
// it under the terms of the GNU Lesser General Public License as published by
5
// the Free Software Foundation, either version 3 of the License, or
6
// (at your option) any later version.
7
//
8
// This program is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
// GNU Lesser General Public License for more details.
12
//
13
// You should have received a copy of the GNU Lesser General Public License
14
// along with this program. If not, see <https://www.gnu.org/licenses/>.
15
16
#include "
psen_scan_v2_standalone/data_conversion_layer/start_request.h
"
17
18
#include "
psen_scan_v2_standalone/scanner_configuration.h
"
19
20
namespace
psen_scan_v2_standalone
21
{
22
namespace
data_conversion_layer
23
{
24
namespace
start_request
25
{
26
Message::Message
(
const
ScannerConfiguration
& scanner_configuration)
27
: host_ip_(*scanner_configuration.hostIp())
28
, host_udp_port_data_(scanner_configuration.hostUDPPortData())
// Write is deduced by the scanner
29
, master_device_settings_(scanner_configuration.diagnosticsEnabled(), scanner_configuration.intensitiesEnabled())
30
, master_(scanner_configuration.scanRange(), scanner_configuration.scanResolution())
31
{
32
}
33
34
}
// namespace start_request
35
}
// namespace data_conversion_layer
36
}
// namespace psen_scan_v2_standalone
start_request.h
scanner_configuration.h
psen_scan_v2_standalone
Root namespace in which the software components to communicate with the scanner (firmware-version: 2)...
Definition:
udp_client.h:41
psen_scan_v2_standalone::data_conversion_layer::start_request::Message::Message
Message(const ScannerConfiguration &scanner_configuration)
Definition:
start_request.cpp:26
psen_scan_v2_standalone::ScannerConfiguration
Higher level data type storing the configuration details of the scanner like scanner IP,...
Definition:
scanner_configuration.h:34
psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Nov 25 2023 03:46:26