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
psen_scan_v2_standalone::protocol_layer::scanner_events::RawMonitoringFrameReceived::num_bytes_
const std::size_t num_bytes_
Definition: scanner_events.h:82
psen_scan_v2_standalone::protocol_layer::scanner_events::RawMonitoringFrameReceived::timestamp_
const int64_t timestamp_
Definition: scanner_events.h:83
psen_scan_v2_standalone::protocol_layer::scanner_events::RawReplyReceived::timestamp_
const int64_t timestamp_
Definition: scanner_events.h:61
psen_scan_v2_standalone::protocol_layer::scanner_events::RawReplyReceived::num_bytes_
const std::size_t num_bytes_
Definition: scanner_events.h:60
psen_scan_v2_standalone::data_conversion_layer::RawDataConstPtr
std::shared_ptr< const RawData > RawDataConstPtr
Definition: raw_scanner_data.h:28
psen_scan_v2_standalone::protocol_layer::scanner_events::RawReplyReceived
Received Start- or Stop-Reply message from scanner device.
Definition: scanner_events.h:48
psen_scan_v2_standalone::protocol_layer::scanner_events::RawMonitoringFrameReceived::RawMonitoringFrameReceived
RawMonitoringFrameReceived(const data_conversion_layer::RawDataConstPtr &data, const std::size_t &num_bytes, const int64_t &timestamp)
Definition: scanner_events.h:73
psen_scan_v2_standalone::protocol_layer::scanner_events::StartRequest
User requests scanner to start.
Definition: scanner_events.h:33
psen_scan_v2_standalone::protocol_layer::scanner_events::MonitoringFrameReceivedError
Triggered whenever the receiving of a monitoring frame failes.
Definition: scanner_events.h:92
psen_scan_v2_standalone::protocol_layer::scanner_events::StartTimeout
Timeout while waiting for scanner device to start.
Definition: scanner_events.h:43
psen_scan_v2_standalone::protocol_layer::scanner_events::RawMonitoringFrameReceived::data_
const data_conversion_layer::RawDataConstPtr data_
Definition: scanner_events.h:81
raw_scanner_data.h
psen_scan_v2_standalone::protocol_layer::scanner_events::StopRequest
User requests scanner to stop.
Definition: scanner_events.h:38
psen_scan_v2_standalone::protocol_layer::scanner_events::ReplyReceiveError
Triggered whenever the receiving of a reply message failes.
Definition: scanner_events.h:65
psen_scan_v2_standalone::protocol_layer::scanner_events::MonitoringFrameTimeout
Timeout while waiting for MonitoringFrame.
Definition: scanner_events.h:87
psen_scan_v2_standalone::protocol_layer::scanner_events::RawMonitoringFrameReceived
Received monitoring frame from scanner device.
Definition: scanner_events.h:70
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::protocol_layer::scanner_events::RawReplyReceived::RawReplyReceived
RawReplyReceived(const data_conversion_layer::RawDataConstPtr &data, const std::size_t &num_bytes, const int64_t &timestamp)
Definition: scanner_events.h:51
psen_scan_v2_standalone::protocol_layer::scanner_events::RawReplyReceived::data_
const data_conversion_layer::RawDataConstPtr data_
Definition: scanner_events.h:59


psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Jun 22 2024 02:46:12