Class SequentialSynchronization
Defined in File sequential_synchronization.hpp
Inheritance Relationships
Base Type
public rclcpp::wait_set_policies::detail::SynchronizationPolicyCommon
(Class SynchronizationPolicyCommon)
Class Documentation
-
class SequentialSynchronization : public rclcpp::wait_set_policies::detail::SynchronizationPolicyCommon
WaitSet policy that explicitly provides no thread synchronization.
Protected Functions
-
~SequentialSynchronization() = default
-
inline const std::array<std::shared_ptr<rclcpp::GuardCondition>, 0> &get_extra_guard_conditions()
Return any “extra” guard conditions needed to implement the synchronization policy.
Since this policy provides no thread-safety, it also needs no extra guard conditions to implement it.
Add subscription without thread-safety.
Does not throw, but storage function may throw.
Remove guard condition without thread-safety.
Does not throw, but storage function may throw.
Add guard condition without thread-safety.
Does not throw, but storage function may throw.
Remove guard condition without thread-safety.
Does not throw, but storage function may throw.
Add timer without thread-safety.
Does not throw, but storage function may throw.
Remove timer without thread-safety.
Does not throw, but storage function may throw.
Add client without thread-safety.
Does not throw, but storage function may throw.
Remove client without thread-safety.
Does not throw, but storage function may throw.
Add service without thread-safety.
Does not throw, but storage function may throw.
Remove service without thread-safety.
Does not throw, but storage function may throw.
Add waitable without thread-safety.
Does not throw, but storage function may throw.
Remove waitable without thread-safety.
Does not throw, but storage function may throw.
-
inline void sync_prune_deleted_entities(std::function<void()> prune_deleted_entities_function)
Prune deleted entities without thread-safety.
Does not throw, but storage function may throw.
-
template<class WaitResultT>
inline WaitResultT sync_wait(std::chrono::nanoseconds time_to_wait_ns, std::function<void()> rebuild_rcl_wait_set, std::function<rcl_wait_set_t&()> get_rcl_wait_set, std::function<WaitResultT(WaitResultKind wait_result_kind)> create_wait_result) Implements wait without any thread-safety.
-
inline void sync_wait_result_acquire()
-
inline void sync_wait_result_release()
-
~SequentialSynchronization() = default