#include <custom_publisher_info.hpp>
◆ PubListener()
◆ onPublicationMatched()
  
  
      
        
          | void PubListener::onPublicationMatched  | 
          ( | 
          eprosima::fastrtps::Publisher *  | 
          pub,  | 
         
        
           | 
           | 
          eprosima::fastrtps::rtps::MatchingInfo &  | 
          info  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinefinal   | 
  
 
 
◆ on_offered_deadline_missed()
  
  
      
        
          | void PubListener::on_offered_deadline_missed  | 
          ( | 
          eprosima::fastrtps::Publisher *  | 
          publisher,  | 
         
        
           | 
           | 
          const eprosima::fastrtps::OfferedDeadlineMissedStatus &  | 
          status  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
final   | 
  
 
 
◆ on_liveliness_lost()
  
  
      
        
          | void PubListener::on_liveliness_lost  | 
          ( | 
          eprosima::fastrtps::Publisher *  | 
          publisher,  | 
         
        
           | 
           | 
          const eprosima::fastrtps::LivelinessLostStatus &  | 
          status  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
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 PubListener::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.
 
 
◆ subscriptionCount()
  
  
      
        
          | size_t PubListener::subscriptionCount  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ attachCondition()
◆ detachCondition()
  
  
      
        
          | void PubListener::detachCondition  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
The documentation for this class was generated from the following file: