#include <custom_subscriber_info.hpp>
◆ SubListener()
◆ onSubscriptionMatched()
void SubListener::onSubscriptionMatched |
( |
eprosima::fastrtps::Subscriber * |
sub, |
|
|
eprosima::fastrtps::rtps::MatchingInfo & |
info |
|
) |
| |
|
inlinefinal |
◆ onNewDataMessage()
void SubListener::onNewDataMessage |
( |
eprosima::fastrtps::Subscriber * |
sub | ) |
|
|
inlinefinal |
◆ on_requested_deadline_missed()
void SubListener::on_requested_deadline_missed |
( |
eprosima::fastrtps::Subscriber * |
, |
|
|
const eprosima::fastrtps::RequestedDeadlineMissedStatus & |
|
|
) |
| |
|
final |
◆ on_liveliness_changed()
void SubListener::on_liveliness_changed |
( |
eprosima::fastrtps::Subscriber * |
, |
|
|
const eprosima::fastrtps::LivelinessChangedStatus & |
|
|
) |
| |
|
final |
◆ hasEvent()
Check if there is new data available for a specific event type.
- Parameters
-
event_type | The event type to check on. |
- Returns
true
if new data is available.
Implements EventListenerInterface.
◆ takeNextEvent()
bool SubListener::takeNextEvent |
( |
rmw_event_type_t |
event_type, |
|
|
void * |
event_info |
|
) |
| |
|
finalvirtual |
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.
-
false
if data was not available, in this case nothing was written to event_info.
Implements EventListenerInterface.
◆ attachCondition()
◆ detachCondition()
void SubListener::detachCondition |
( |
| ) |
|
|
inlinevirtual |
◆ hasData()
bool SubListener::hasData |
( |
| ) |
const |
|
inline |
◆ data_taken()
void SubListener::data_taken |
( |
eprosima::fastrtps::Subscriber * |
sub | ) |
|
|
inline |
◆ publisherCount()
size_t SubListener::publisherCount |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: