15 #ifndef RCLCPP__MEMORY_STRATEGY_HPP_ 16 #define RCLCPP__MEMORY_STRATEGY_HPP_ 31 namespace memory_strategy
46 virtual
bool collect_entities(const
WeakNodeVector & weak_nodes) = 0;
48 virtual
size_t number_of_ready_subscriptions() const = 0;
49 virtual
size_t number_of_ready_services() const = 0;
50 virtual
size_t number_of_ready_clients() const = 0;
51 virtual
size_t number_of_ready_timers() const = 0;
52 virtual
size_t number_of_guard_conditions() const = 0;
54 virtual
bool add_handles_to_wait_set(
rcl_wait_set_t * wait_set) = 0;
55 virtual
void clear_handles() = 0;
63 get_next_subscription(
64 rclcpp::executor::AnyExecutable & any_exec,
69 rclcpp::executor::AnyExecutable & any_exec,
74 rclcpp::executor::AnyExecutable & any_exec,
81 get_subscription_by_handle(
86 get_service_by_handle(
95 static
rclcpp::node_interfaces::NodeBaseInterface::SharedPtr
97 rclcpp::callback_group::CallbackGroup::SharedPtr group,
100 static
rclcpp::callback_group::CallbackGroup::SharedPtr
101 get_group_by_subscription(
105 static
rclcpp::callback_group::CallbackGroup::SharedPtr
106 get_group_by_service(
110 static
rclcpp::callback_group::CallbackGroup::SharedPtr
119 #endif // RCLCPP__MEMORY_STRATEGY_HPP_
Delegate for handling memory allocations while the Executor is executing.
Definition: memory_strategy.hpp:40
Definition: allocator_common.hpp:24
Definition: subscription.hpp:51
#define RCLCPP_SMART_PTR_DEFINITIONS_NOT_COPYABLE(...)
Definition: macros.hpp:51
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Definition: client.hpp:52
Definition: service.hpp:40