function_pointers.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 
16 #ifndef PSEN_SCAN_V2_STANDALONE_FUNCTION_POINTERS_H
17 #define PSEN_SCAN_V2_STANDALONE_FUNCTION_POINTERS_H
18 
19 #include <functional>
20 
23 
25 {
26 namespace protocol_layer
27 {
28 using SendRequestCallback = std::function<void()>;
29 using ReplyCallback = std::function<void()>;
31 using ErrorCallback = std::function<void(const std::string&)>;
32 using LaserScanCallback = std::function<void(const LaserScan&)>;
33 } // namespace protocol_layer
34 } // namespace psen_scan_v2_standalone
35 
36 #endif // PSEN_SCAN_V2_STANDALONE_FUNCTION_POINTERS_H
psen_scan_v2_standalone::protocol_layer::ErrorCallback
std::function< void(const std::string &)> ErrorCallback
Definition: function_pointers.h:31
monitoring_frame_msg.h
psen_scan_v2_standalone::protocol_layer::MonitoringFrameCallback
std::function< void(const data_conversion_layer::monitoring_frame::Message &)> MonitoringFrameCallback
Definition: function_pointers.h:30
psen_scan_v2_standalone::protocol_layer::LaserScanCallback
std::function< void(const LaserScan &)> LaserScanCallback
Definition: function_pointers.h:32
psen_scan_v2_standalone::protocol_layer::SendRequestCallback
std::function< void()> SendRequestCallback
Definition: function_pointers.h:28
psen_scan_v2_standalone::LaserScan
This class represents a single laser scan in the <tf_prefix> target frame.
Definition: laserscan.h:47
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::monitoring_frame::Message
Higher level data type representing a single monitoring frame.
Definition: monitoring_frame_msg.h:62
laserscan.h
psen_scan_v2_standalone::protocol_layer::ReplyCallback
std::function< void()> ReplyCallback
Definition: function_pointers.h:29


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