ROS 2 rclcpp + rcl - rolling  rolling-20536064
ROS 2 C++ Client Library with ROS Client Library
Public Member Functions | List of all members
rclcpp::executors::cbg_executor::FirstInFirstOutCallbackGroupHandle Struct Referencefinal
Inheritance diagram for rclcpp::executors::cbg_executor::FirstInFirstOutCallbackGroupHandle:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::executors::cbg_executor::FirstInFirstOutCallbackGroupHandle:
Collaboration graph
[legend]

Public Member Functions

 FirstInFirstOutCallbackGroupHandle (CBGScheduler &scheduler, CallbackGroupType type)
 
std::function< void(size_t)> get_ready_callback_for_entity (const rclcpp::SubscriptionBase::WeakPtr &entity) final
 
std::function< void(std::function< void()> executed_callback)> get_ready_callback_for_entity (const rclcpp::TimerBase::WeakPtr &entity) final
 
std::function< void(size_t)> get_ready_callback_for_entity (const rclcpp::ClientBase::WeakPtr &entity) final
 
std::function< void(size_t)> get_ready_callback_for_entity (const rclcpp::ServiceBase::WeakPtr &entity) final
 
std::function< void(size_t, int)> get_ready_callback_for_entity (const rclcpp::Waitable::WeakPtr &entity) final
 
std::function< void(size_t)> get_ready_callback_for_entity (const CBGScheduler::CallbackEventType &entity) final
 
std::optional< CBGScheduler::ExecutableEntityget_next_ready_entity ()
 
std::optional< CBGScheduler::ExecutableEntityget_next_ready_entity (GlobalEventIdProvider::MonotonicId max_id)
 
bool has_ready_entities () const final
 
- Public Member Functions inherited from rclcpp::executors::cbg_executor::CBGScheduler::CallbackGroupHandle
 CallbackGroupHandle (CBGScheduler &scheduler, CallbackGroupType type)
 
 CallbackGroupHandle (const CallbackGroupHandle &)=delete
 
 CallbackGroupHandle (CallbackGroupHandle &&)=delete
 
CallbackGroupHandleoperator= (const CallbackGroupHandle &)=delete
 
CallbackGroupHandleoperator= (CallbackGroupHandle &&)=delete
 
void mark_as_executed ()
 
CallbackGroupType get_type ()
 
bool is_ready ()
 

Additional Inherited Members

- Public Attributes inherited from rclcpp::executors::cbg_executor::CBGScheduler::CallbackGroupHandle
bool in_queue = false
 
- Protected Member Functions inherited from rclcpp::executors::cbg_executor::CBGScheduler::CallbackGroupHandle
template<typename add_fun >
void add_ready_entity (const add_fun &fun)
 
void mark_as_skipped ()
 
void mark_as_executing ()
 
- Protected Attributes inherited from rclcpp::executors::cbg_executor::CBGScheduler::CallbackGroupHandle
CBGSchedulerscheduler
 
std::mutex ready_mutex
 

Detailed Description

Definition at line 32 of file first_in_first_out_scheduler.hpp.

Member Function Documentation

◆ has_ready_entities()

bool rclcpp::executors::cbg_executor::FirstInFirstOutCallbackGroupHandle::has_ready_entities ( ) const
inlinefinalvirtual

Will always be called under lock of ready_mutex

Implements rclcpp::executors::cbg_executor::CBGScheduler::CallbackGroupHandle.

Definition at line 57 of file first_in_first_out_scheduler.hpp.


The documentation for this struct was generated from the following files: