rclcpp
master
C++ ROS Client Library API
|
Go to the documentation of this file.
15 #ifndef RCLCPP__EXPERIMENTAL__SUBSCRIPTION_INTRA_PROCESS_BASE_HPP_
16 #define RCLCPP__EXPERIMENTAL__SUBSCRIPTION_INTRA_PROCESS_BASE_HPP_
26 #include "rcl/error_handling.h"
33 namespace experimental
43 : topic_name_(topic_name), qos_profile_(qos_profile)
79 trigger_guard_condition() = 0;
88 #endif // RCLCPP__EXPERIMENTAL__SUBSCRIPTION_INTRA_PROCESS_BASE_HPP_
std::recursive_mutex reentrant_mutex_
Definition: subscription_intra_process_base.hpp:74
bool add_to_wait_set(rcl_wait_set_t *wait_set)
Add the Waitable to a wait set.
#define RCLCPP_SMART_PTR_ALIASES_ONLY(...)
Definition: macros.hpp:66
Definition: subscription_intra_process_base.hpp:36
Definition: waitable.hpp:28
const char * get_topic_name() const
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
virtual ~SubscriptionIntraProcessBase()=default
virtual bool use_take_shared_method() const =0
virtual bool is_ready(rcl_wait_set_t *wait_set)=0
Check if the Waitable is ready.
size_t get_number_of_ready_guard_conditions()
Get the number of ready guard_conditions.
Definition: subscription_intra_process_base.hpp:50
rcl_guard_condition_t gc_
Definition: subscription_intra_process_base.hpp:75
SubscriptionIntraProcessBase(const std::string &topic_name, rmw_qos_profile_t qos_profile)
Definition: subscription_intra_process_base.hpp:42
virtual void execute()=0
Execute any entities of the Waitable that are ready.
rmw_qos_profile_t get_actual_qos() const