rclcpp  master
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::QOSEventHandler< EventCallbackT > Class Template Reference

#include <qos_event.hpp>

Inheritance diagram for rclcpp::QOSEventHandler< EventCallbackT >:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::QOSEventHandler< EventCallbackT >:
Collaboration graph
[legend]

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_
 

Constructor & Destructor Documentation

◆ QOSEventHandler()

template<typename EventCallbackT >
template<typename InitFuncT , typename ParentHandleT , typename EventTypeEnum >
rclcpp::QOSEventHandler< EventCallbackT >::QOSEventHandler ( const EventCallbackT &  callback,
InitFuncT  init_func,
ParentHandleT  parent_handle,
EventTypeEnum  event_type 
)
inline

Member Function Documentation

◆ execute()

template<typename EventCallbackT >
void rclcpp::QOSEventHandler< EventCallbackT >::execute ( )
inlineoverridevirtual

Execute any entities of the Waitable that are ready.

Implements rclcpp::Waitable.


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