RTC Toolkit  2.0.0
Public Member Functions | Static Public Attributes | List of all members
GenSubReaderListener Class Reference

DDS Listener. More...

#include <genSubReaderListener.h>

Inheritance diagram for GenSubReaderListener:

Public Member Functions

 GenSubReaderListener (const char *name, uint16_t topicId)
 
virtual ~GenSubReaderListener (void)
 
virtual void on_requested_deadline_missed (DataReader *reader, const RequestedDeadlineMissedStatus &status) override
 
virtual void on_requested_incompatible_qos (DataReader *reader, const RequestedIncompatibleQosStatus &status) override
 
virtual void on_liveliness_changed (DataReader *reader, const LivelinessChangedStatus &status) override
 
virtual void on_subscription_matched (DataReader *reader, const SubscriptionMatchedStatus &status) override
 
virtual void on_sample_rejected (DataReader *reader, const SampleRejectedStatus &status) override
 
virtual void on_data_available (DataReader *reader) override
 
virtual void on_sample_lost (DataReader *reader, const SampleLostStatus &status) override
 
long GetNumSamples () const
 
unsigned long GetLostSamples () const
 
void Enable ()
 
void Disable ()
 
unsigned int GetIndex ()
 
std::string GetName ()
 

Static Public Attributes

static int m_sleep_period = 0
 
static bool m_check_ramp = false
 

Detailed Description

DDS Listener.

Constructor & Destructor Documentation

◆ GenSubReaderListener()

GenSubReaderListener::GenSubReaderListener ( const char *  name,
uint16_t  topicId 
)

◆ ~GenSubReaderListener()

GenSubReaderListener::~GenSubReaderListener ( void  )
virtual

Member Function Documentation

◆ Disable()

void GenSubReaderListener::Disable ( )
inline

◆ Enable()

void GenSubReaderListener::Enable ( )
inline

◆ GetIndex()

unsigned int GenSubReaderListener::GetIndex ( )
inline

◆ GetLostSamples()

unsigned long GenSubReaderListener::GetLostSamples ( ) const
inline

◆ GetName()

std::string GenSubReaderListener::GetName ( )
inline

◆ GetNumSamples()

long GenSubReaderListener::GetNumSamples ( ) const
inline

◆ on_data_available()

void GenSubReaderListener::on_data_available ( DataReader *  reader)
overridevirtual

◆ on_liveliness_changed()

void GenSubReaderListener::on_liveliness_changed ( DataReader *  reader,
const LivelinessChangedStatus &  status 
)
overridevirtual

◆ on_requested_deadline_missed()

void GenSubReaderListener::on_requested_deadline_missed ( DataReader *  reader,
const RequestedDeadlineMissedStatus &  status 
)
overridevirtual

◆ on_requested_incompatible_qos()

void GenSubReaderListener::on_requested_incompatible_qos ( DataReader *  reader,
const RequestedIncompatibleQosStatus &  status 
)
overridevirtual

◆ on_sample_lost()

void GenSubReaderListener::on_sample_lost ( DataReader *  reader,
const SampleLostStatus &  status 
)
overridevirtual

◆ on_sample_rejected()

void GenSubReaderListener::on_sample_rejected ( DataReader *  reader,
const SampleRejectedStatus &  status 
)
overridevirtual

◆ on_subscription_matched()

void GenSubReaderListener::on_subscription_matched ( DataReader *  reader,
const SubscriptionMatchedStatus &  status 
)
overridevirtual

Member Data Documentation

◆ m_check_ramp

bool GenSubReaderListener::m_check_ramp = false
static

◆ m_sleep_period

int GenSubReaderListener::m_sleep_period = 0
static

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