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

Public Member Functions

 RegisteredEntityCache (CBGScheduler &scheduler, TimerManager &timer_manager, const rclcpp::CallbackGroup::SharedPtr &callback_group)
 
void clear_caches ()
 
bool regenerate_events ()
 
void add_guard_condition_event (rclcpp::GuardCondition::SharedPtr ptr, std::function< void(void)> fun)
 

Public Attributes

EntityCache< rclcpp::TimerBasetimers_cache
 
EntityCache< rclcpp::SubscriptionBasesubscribers_cache
 
EntityCache< rclcpp::ClientBaseclients_cache
 
EntityCache< rclcpp::ServiceBaseservices_cache
 
EntityCache< rclcpp::Waitablewaitables_cache
 
std::vector< GuardConditionWithFunctionguard_conditions
 
rclcpp::CallbackGroup::WeakPtr callback_group_weak_ptr
 
CBGScheduler::CallbackGroupHandlescheduler_cbg_handle
 
TimerManagertimer_manager
 

Detailed Description

Definition at line 113 of file registered_entity_cache.hpp.

Member Function Documentation

◆ add_guard_condition_event()

void rclcpp::executors::cbg_executor::RegisteredEntityCache::add_guard_condition_event ( rclcpp::GuardCondition::SharedPtr  ptr,
std::function< void(void)>  fun 
)
inline

Register special case guard conditions. These guard conditions can be registered to a callback, that will be executed within the executor worker context on trigger.

Note, there is currently no way, to deregister these guard conditions

Definition at line 295 of file registered_entity_cache.hpp.


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