15 #ifndef RCLCPP__CALLBACK_GROUP_HPP_ 16 #define RCLCPP__CALLBACK_GROUP_HPP_ 34 namespace node_interfaces
42 namespace callback_group
66 get_subscription_ptrs()
const;
70 get_timer_ptrs()
const;
74 get_service_ptrs()
const;
78 get_client_ptrs()
const;
82 get_waitable_ptrs()
const;
97 add_subscription(
const rclcpp::SubscriptionBase::SharedPtr subscription_ptr);
101 add_timer(
const rclcpp::TimerBase::SharedPtr timer_ptr);
105 add_service(
const rclcpp::ServiceBase::SharedPtr service_ptr);
109 add_client(
const rclcpp::ClientBase::SharedPtr client_ptr);
113 add_waitable(
const rclcpp::Waitable::SharedPtr waitable_ptr);
117 remove_waitable(
const rclcpp::Waitable::SharedPtr waitable_ptr) noexcept;
133 #endif // RCLCPP__CALLBACK_GROUP_HPP_
#define RCLCPP_DISABLE_COPY(...)
Definition: macros.hpp:26
std::vector< rclcpp::ServiceBase::WeakPtr > service_ptrs_
Definition: callback_group.hpp:124
CallbackGroupType type_
Definition: callback_group.hpp:119
std::mutex mutex_
Definition: callback_group.hpp:121
CallbackGroupType
Definition: callback_group.hpp:45
std::vector< rclcpp::ClientBase::WeakPtr > client_ptrs_
Definition: callback_group.hpp:125
Implementation of the NodeTimers part of the Node API.
Definition: node_timers.hpp:31
Definition: allocator_common.hpp:24
std::atomic_bool can_be_taken_from_
Definition: callback_group.hpp:127
Implementation of the NodeServices part of the Node API.
Definition: node_services.hpp:32
std::vector< rclcpp::SubscriptionBase::WeakPtr > subscription_ptrs_
Definition: callback_group.hpp:122
#define RCLCPP_SMART_PTR_DEFINITIONS(...)
Definition: macros.hpp:36
Definition: callback_group.hpp:51
std::vector< rclcpp::TimerBase::WeakPtr > timer_ptrs_
Definition: callback_group.hpp:123
virtual void remove_waitable(rclcpp::Waitable::SharedPtr waitable_ptr, rclcpp::callback_group::CallbackGroup::SharedPtr group) noexcept
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
std::vector< rclcpp::Waitable::WeakPtr > waitable_ptrs_
Definition: callback_group.hpp:126
Implementation of the NodeTopics part of the Node API.
Definition: node_topics.hpp:36
Implementation of the NodeWaitables part of the Node API.
Definition: node_waitables.hpp:32
virtual void add_waitable(rclcpp::Waitable::SharedPtr waitable_base_ptr, rclcpp::callback_group::CallbackGroup::SharedPtr group)