Class EventListenerInterface
Defined in File custom_event_info.hpp
Inheritance Relationships
Derived Types
public PubListener
(Class PubListener)public SubListener
(Class SubListener)
Class Documentation
-
class EventListenerInterface
Subclassed by PubListener, SubListener
Public Functions
-
virtual eprosima::fastdds::dds::StatusCondition &get_statuscondition() const = 0
-
virtual bool take_event(rmw_event_type_t event_type, void *event_info) = 0
Take ready data for an event type.
- Parameters:
event_type – The event type to get data for.
event_info – A preallocated event information (from rmw/types.h) to fill with data
- Returns:
true
if data was successfully taken.- Returns:
false
if data was not available, in this case nothing was written to event_info.
-
virtual void set_on_new_event_callback(rmw_event_type_t event_type, const void *user_data, rmw_event_callback_t callback) = 0
-
inline eprosima::fastdds::dds::GuardCondition &get_event_guard(rmw_event_type_t event_type)
-
virtual eprosima::fastdds::dds::StatusCondition &get_statuscondition() const = 0