rclcpp
master
C++ ROS Client Library API
|
#include <qos_event.hpp>
Public Member Functions | |
template<typename InitFuncT , typename ParentHandleT , typename EventTypeEnum > | |
QOSEventHandler (const EventCallbackT &callback, InitFuncT init_func, ParentHandleT parent_handle, EventTypeEnum event_type) | |
void | execute () override |
Execute any entities of the Waitable that are ready. More... | |
Public Member Functions inherited from rclcpp::QOSEventHandlerBase | |
virtual | ~QOSEventHandlerBase () |
size_t | get_number_of_ready_events () override |
Get the number of ready events. More... | |
bool | add_to_wait_set (rcl_wait_set_t *wait_set) override |
Add the Waitable to a wait set. More... | |
bool | is_ready (rcl_wait_set_t *wait_set) override |
Check if the Waitable is ready. More... | |
Public Member Functions inherited from rclcpp::Waitable | |
virtual size_t | get_number_of_ready_subscriptions () |
Get the number of ready subscriptions. More... | |
virtual size_t | get_number_of_ready_timers () |
Get the number of ready timers. More... | |
virtual size_t | get_number_of_ready_clients () |
Get the number of ready clients. More... | |
virtual size_t | get_number_of_ready_services () |
Get the number of ready services. More... | |
virtual size_t | get_number_of_ready_guard_conditions () |
Get the number of ready guard_conditions. More... | |
Additional Inherited Members | |
Protected Attributes inherited from rclcpp::QOSEventHandlerBase | |
rcl_event_t | event_handle_ |
size_t | wait_set_event_index_ |
|
inline |
|
inlineoverridevirtual |
Execute any entities of the Waitable that are ready.
Implements rclcpp::Waitable.