15 #ifndef RCLCPP__MEMORY_STRATEGY_HPP_ 16 #define RCLCPP__MEMORY_STRATEGY_HPP_ 32 namespace memory_strategy
49 virtual
bool collect_entities(const
WeakNodeList & weak_nodes) = 0;
51 virtual
size_t number_of_ready_subscriptions() const = 0;
52 virtual
size_t number_of_ready_services() const = 0;
53 virtual
size_t number_of_ready_clients() const = 0;
54 virtual
size_t number_of_ready_events() const = 0;
55 virtual
size_t number_of_ready_timers() const = 0;
56 virtual
size_t number_of_guard_conditions() const = 0;
57 virtual
size_t number_of_waitables() const = 0;
59 virtual
bool add_handles_to_wait_set(
rcl_wait_set_t * wait_set) = 0;
60 virtual
void clear_handles() = 0;
68 get_next_subscription(
69 rclcpp::executor::AnyExecutable & any_exec,
74 rclcpp::executor::AnyExecutable & any_exec,
79 rclcpp::executor::AnyExecutable & any_exec,
84 rclcpp::executor::AnyExecutable & any_exec,
89 rclcpp::executor::AnyExecutable & any_exec,
96 get_subscription_by_handle(
101 get_service_by_handle(
106 get_client_by_handle(
115 static
rclcpp::node_interfaces::NodeBaseInterface::SharedPtr
117 rclcpp::callback_group::CallbackGroup::SharedPtr group,
120 static
rclcpp::callback_group::CallbackGroup::SharedPtr
121 get_group_by_subscription(
125 static
rclcpp::callback_group::CallbackGroup::SharedPtr
126 get_group_by_service(
130 static
rclcpp::callback_group::CallbackGroup::SharedPtr
135 static
rclcpp::callback_group::CallbackGroup::SharedPtr
140 static
rclcpp::callback_group::CallbackGroup::SharedPtr
141 get_group_by_waitable(
149 #endif // RCLCPP__MEMORY_STRATEGY_HPP_ Definition: client.hpp:52
Delegate for handling memory allocations while the Executor is executing.
Definition: memory_strategy.hpp:41
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
#define RCLCPP_SMART_PTR_DEFINITIONS_NOT_COPYABLE(...)
Definition: macros.hpp:51
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Definition: subscription_base.hpp:54
Definition: waitable.hpp:26
Definition: service.hpp:41