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)
83 trigger_guard_condition() = 0;
92 #endif // RCLCPP__EXPERIMENTAL__SUBSCRIPTION_INTRA_PROCESS_BASE_HPP_
std::recursive_mutex reentrant_mutex_
Definition: subscription_intra_process_base.hpp:78
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:29
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
virtual void execute(std::shared_ptr< void > &data)=0
Execute data that is passed in.
virtual std::shared_ptr< void > take_data()=0
Take the data so that it can be consumed with execute.
rcl_guard_condition_t gc_
Definition: subscription_intra_process_base.hpp:79
SubscriptionIntraProcessBase(const std::string &topic_name, rmw_qos_profile_t qos_profile)
Definition: subscription_intra_process_base.hpp:42
rmw_qos_profile_t get_actual_qos() const