Template Class EventHandler
Defined in File event_handler.hpp
Inheritance Relationships
Base Type
public rclcpp::EventHandlerBase(Class EventHandlerBase)
Class Documentation
-
template<typename EventCallbackT, typename ParentHandleT>
class EventHandler : public rclcpp::EventHandlerBase Public Functions
-
template<typename InitFuncT, typename EventTypeEnum>
inline EventHandler(const EventCallbackT &callback, InitFuncT init_func, ParentHandleT parent_handle, EventTypeEnum event_type)
-
inline ~EventHandler()
-
inline virtual std::shared_ptr<void> take_data() override
Take data so that the callback cannot be scheduled again.
-
inline std::shared_ptr<void> take_data_by_entity_id([[maybe_unused]] size_t id) override
Execute any entities of the Waitable that are ready.
-
template<typename InitFuncT, typename EventTypeEnum>