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_waitset(
rcl_wait_set_t * wait_set) = 0;
55 virtual
void clear_handles() = 0;
60 virtual
rclcpp::executor::AnyExecutable::SharedPtr instantiate_next_executable() = 0;
67 get_next_subscription(
rclcpp::executor::AnyExecutable::SharedPtr any_exec,
71 get_next_service(
rclcpp::executor::AnyExecutable::SharedPtr any_exec,
75 get_next_client(
rclcpp::executor::AnyExecutable::SharedPtr any_exec,
85 static
rclcpp::service::ServiceBase::SharedPtr
88 static
rclcpp::client::ClientBase::SharedPtr
91 static
rclcpp::node_interfaces::NodeBaseInterface::SharedPtr
92 get_node_by_group(
rclcpp::callback_group::CallbackGroup::SharedPtr group,
95 static
rclcpp::callback_group::CallbackGroup::SharedPtr
96 get_group_by_subscription(
100 static
rclcpp::callback_group::CallbackGroup::SharedPtr
101 get_group_by_service(
102 rclcpp::service::ServiceBase::SharedPtr service,
105 static
rclcpp::callback_group::CallbackGroup::SharedPtr
106 get_group_by_client(
rclcpp::client::ClientBase::SharedPtr client,
113 #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