scanner_events.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_EVENTS_H
16 #define PSEN_SCAN_V2_STANDALONE_EVENTS_H
17 
19 
21 {
25 namespace protocol_layer
26 {
30 namespace scanner_events
31 {
34 {
35 };
36 
39 {
40 };
41 
44 {
45 };
46 
49 {
50 public:
52  const std::size_t& num_bytes,
53  const int64_t& timestamp)
54  : data_(data), num_bytes_(num_bytes), timestamp_(timestamp)
55  {
56  }
57 
58 public:
60  const std::size_t num_bytes_;
61  const int64_t timestamp_;
62 };
63 
66 {
67 };
68 
71 {
72 public:
74  const std::size_t& num_bytes,
75  const int64_t& timestamp)
76  : data_(data), num_bytes_(num_bytes), timestamp_(timestamp)
77  {
78  }
79 
80 public:
82  const std::size_t num_bytes_;
83  const int64_t timestamp_;
84 };
85 
88 {
89 };
90 
93 {
94 };
95 
96 } // namespace scanner_events
97 } // namespace protocol_layer
98 } // namespace psen_scan_v2_standalone
99 
100 #endif // PSEN_SCAN_V2_STANDALONE_EVENTS_H
RawReplyReceived(const data_conversion_layer::RawDataConstPtr &data, const std::size_t &num_bytes, const int64_t &timestamp)
std::shared_ptr< const RawData > RawDataConstPtr
RawMonitoringFrameReceived(const data_conversion_layer::RawDataConstPtr &data, const std::size_t &num_bytes, const int64_t &timestamp)
Triggered whenever the receiving of a reply message failes.
Root namespace in which the software components to communicate with the scanner (firmware-version: 2)...
Definition: udp_client.h:41
Received Start- or Stop-Reply message from scanner device.
Timeout while waiting for scanner device to start.
Triggered whenever the receiving of a monitoring frame failes.


psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Nov 5 2022 02:13:36