rclcpp
master
C++ ROS Client Library API
|
Go to the documentation of this file.
15 #ifndef RCLCPP__WAITABLE_HPP_
16 #define RCLCPP__WAITABLE_HPP_
212 #endif // RCLCPP__WAITABLE_HPP_
bool exchange_in_use_by_wait_set_state(bool in_use_state)
Exchange the "in use by wait set" state for this timer.
virtual size_t get_number_of_ready_subscriptions()
Get the number of ready subscriptions.
virtual size_t get_number_of_ready_timers()
Get the number of ready timers.
virtual void execute(std::shared_ptr< void > &data)=0
Execute data that is passed in.
virtual bool is_ready(rcl_wait_set_t *wait_set)=0
Check if the Waitable is ready.
Definition: waitable.hpp:29
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
virtual size_t get_number_of_ready_events()
Get the number of ready events.
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
virtual size_t get_number_of_ready_services()
Get the number of ready services.
virtual size_t get_number_of_ready_clients()
Get the number of ready clients.
virtual std::shared_ptr< void > take_data()=0
Take the data so that it can be consumed with execute.
virtual ~Waitable()=default
virtual bool add_to_wait_set(rcl_wait_set_t *wait_set)=0
Add the Waitable to a wait set.
#define RCLCPP_SMART_PTR_DEFINITIONS_NOT_COPYABLE(...)
Definition: macros.hpp:51
virtual size_t get_number_of_ready_guard_conditions()
Get the number of ready guard_conditions.