raw_scanner_data.h
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 #ifndef PSEN_SCAN_V2_STANDALONE_RAW_SCANNER_DATA_H
16 #define PSEN_SCAN_V2_STANDALONE_RAW_SCANNER_DATA_H
17 
18 #include <memory>
19 #include <vector>
20 
22 {
23 namespace data_conversion_layer
24 {
25 using RawData = std::vector<char>;
26 static constexpr std::size_t MAX_UDP_PAKET_SIZE{ 65507 };
27 using RawDataPtr = std::shared_ptr<RawData>;
28 using RawDataConstPtr = std::shared_ptr<const RawData>;
29 } // namespace data_conversion_layer
30 } // namespace psen_scan_v2_standalone
31 
32 #endif // PSEN_SCAN_V2_STANDALONE_RAW_SCANNER_DATA_H
psen_scan_v2_standalone::data_conversion_layer::RawDataConstPtr
std::shared_ptr< const RawData > RawDataConstPtr
Definition: raw_scanner_data.h:28
psen_scan_v2_standalone::data_conversion_layer::RawDataPtr
std::shared_ptr< RawData > RawDataPtr
Definition: raw_scanner_data.h:27
psen_scan_v2_standalone::data_conversion_layer::MAX_UDP_PAKET_SIZE
static constexpr std::size_t MAX_UDP_PAKET_SIZE
Definition: raw_scanner_data.h:26
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::RawData
std::vector< char > RawData
Definition: raw_scanner_data.h:25


psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Nov 25 2023 03:46:26