ROS 2 rclcpp + rcl - jazzy
jazzy
ROS 2 C++ Client Library with ROS Client Library
rclcpp
include
rclcpp
experimental
executors
events_executor
events_executor_event_types.hpp
1
// Copyright 2023 iRobot Corporation.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#ifndef RCLCPP__EXPERIMENTAL__EXECUTORS__EVENTS_EXECUTOR__EVENTS_EXECUTOR_EVENT_TYPES_HPP_
16
#define RCLCPP__EXPERIMENTAL__EXECUTORS__EVENTS_EXECUTOR__EVENTS_EXECUTOR_EVENT_TYPES_HPP_
17
18
#include <memory>
19
20
namespace
rclcpp
21
{
22
namespace
experimental
23
{
24
namespace
executors
25
{
26
27
enum
ExecutorEventType
28
{
29
CLIENT_EVENT,
30
SUBSCRIPTION_EVENT,
31
SERVICE_EVENT,
32
TIMER_EVENT,
33
WAITABLE_EVENT
34
};
35
36
struct
ExecutorEvent
37
{
38
const
void
* entity_key;
39
std::shared_ptr<void> data;
40
int
waitable_data;
41
ExecutorEventType type;
42
size_t
num_events;
43
};
44
45
}
// namespace executors
46
}
// namespace experimental
47
}
// namespace rclcpp
48
49
#endif
// RCLCPP__EXPERIMENTAL__EXECUTORS__EVENTS_EXECUTOR__EVENTS_EXECUTOR_EVENT_TYPES_HPP_
rclcpp
Versions of rosidl_typesupport_cpp::get_message_type_support_handle that handle adapted types.
Definition:
allocator_common.hpp:26
rclcpp::experimental::executors::ExecutorEvent
Definition:
events_executor_event_types.hpp:37
Generated by
1.9.1