Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
swri::SubscriberImpl Class Reference

#include <subscriber_impl.h>

Inheritance diagram for swri::SubscriberImpl:
Inheritance graph
[legend]

Public Member Functions

ros::Duration age (const ros::Time &now) const
 
bool blockTimeouts (bool block)
 
bool inTimeout ()
 
const std::string & mappedTopic () const
 
ros::Duration maxLatency () const
 
ros::Duration maxPeriod () const
 
double meanFrequencyHz () const
 
ros::Duration meanLatency () const
 
ros::Duration meanPeriod () const
 
int messageCount () const
 
ros::Duration minLatency () const
 
ros::Duration minPeriod () const
 
int numPublishers () const
 
void resetStatistics ()
 
void setTimeout (const ros::Duration &time_out)
 
 SubscriberImpl ()
 
ros::Duration timeout () const
 
int timeoutCount ()
 
bool timeoutEnabled () const
 
bool timeoutsBlocked () const
 
const std::string & unmappedTopic () const
 
virtual ~SubscriberImpl ()
 

Protected Member Functions

void checkTimeout (const ros::Time &now)
 
void processHeader (const ros::Time &stamp)
 

Protected Attributes

bool blocking_timeout_
 
bool in_timeout_
 
ros::Time last_header_stamp_
 
ros::Time last_receive_time_
 
std::string mapped_topic_
 
ros::Duration max_latency_
 
ros::Duration max_period_
 
int message_count_
 
ros::Duration min_latency_
 
ros::Duration min_period_
 
ros::Subscriber sub_
 
ros::Duration timeout_
 
int timeout_count_
 
ros::Duration total_latency_
 
ros::Duration total_periods_
 
std::string unmapped_topic_
 

Detailed Description

Definition at line 38 of file subscriber_impl.h.

Constructor & Destructor Documentation

◆ SubscriberImpl()

swri::SubscriberImpl::SubscriberImpl ( )
inline

Definition at line 132 of file subscriber_impl.h.

◆ ~SubscriberImpl()

virtual swri::SubscriberImpl::~SubscriberImpl ( )
inlinevirtual

Definition at line 144 of file subscriber_impl.h.

Member Function Documentation

◆ age()

ros::Duration swri::SubscriberImpl::age ( const ros::Time now) const
inline

Definition at line 175 of file subscriber_impl.h.

◆ blockTimeouts()

bool swri::SubscriberImpl::blockTimeouts ( bool  block)
inline

Definition at line 258 of file subscriber_impl.h.

◆ checkTimeout()

void swri::SubscriberImpl::checkTimeout ( const ros::Time now)
inlineprotected

Definition at line 110 of file subscriber_impl.h.

◆ inTimeout()

bool swri::SubscriberImpl::inTimeout ( )
inline

Definition at line 282 of file subscriber_impl.h.

◆ mappedTopic()

const std::string& swri::SubscriberImpl::mappedTopic ( ) const
inline

Definition at line 148 of file subscriber_impl.h.

◆ maxLatency()

ros::Duration swri::SubscriberImpl::maxLatency ( ) const
inline

Definition at line 206 of file subscriber_impl.h.

◆ maxPeriod()

ros::Duration swri::SubscriberImpl::maxPeriod ( ) const
inline

Definition at line 242 of file subscriber_impl.h.

◆ meanFrequencyHz()

double swri::SubscriberImpl::meanFrequencyHz ( ) const
inline

Definition at line 215 of file subscriber_impl.h.

◆ meanLatency()

ros::Duration swri::SubscriberImpl::meanLatency ( ) const
inline

Definition at line 188 of file subscriber_impl.h.

◆ meanPeriod()

ros::Duration swri::SubscriberImpl::meanPeriod ( ) const
inline

Definition at line 224 of file subscriber_impl.h.

◆ messageCount()

int swri::SubscriberImpl::messageCount ( ) const
inline

Definition at line 170 of file subscriber_impl.h.

◆ minLatency()

ros::Duration swri::SubscriberImpl::minLatency ( ) const
inline

Definition at line 197 of file subscriber_impl.h.

◆ minPeriod()

ros::Duration swri::SubscriberImpl::minPeriod ( ) const
inline

Definition at line 233 of file subscriber_impl.h.

◆ numPublishers()

int swri::SubscriberImpl::numPublishers ( ) const
inline

Definition at line 158 of file subscriber_impl.h.

◆ processHeader()

void swri::SubscriberImpl::processHeader ( const ros::Time stamp)
inlineprotected

Definition at line 63 of file subscriber_impl.h.

◆ resetStatistics()

void swri::SubscriberImpl::resetStatistics ( )
inline

Definition at line 163 of file subscriber_impl.h.

◆ setTimeout()

void swri::SubscriberImpl::setTimeout ( const ros::Duration time_out)
inline

Definition at line 251 of file subscriber_impl.h.

◆ timeout()

ros::Duration swri::SubscriberImpl::timeout ( ) const
inline

Definition at line 272 of file subscriber_impl.h.

◆ timeoutCount()

int swri::SubscriberImpl::timeoutCount ( )
inline

Definition at line 288 of file subscriber_impl.h.

◆ timeoutEnabled()

bool swri::SubscriberImpl::timeoutEnabled ( ) const
inline

Definition at line 277 of file subscriber_impl.h.

◆ timeoutsBlocked()

bool swri::SubscriberImpl::timeoutsBlocked ( ) const
inline

Definition at line 268 of file subscriber_impl.h.

◆ unmappedTopic()

const std::string& swri::SubscriberImpl::unmappedTopic ( ) const
inline

Definition at line 153 of file subscriber_impl.h.

Member Data Documentation

◆ blocking_timeout_

bool swri::SubscriberImpl::blocking_timeout_
protected

Definition at line 61 of file subscriber_impl.h.

◆ in_timeout_

bool swri::SubscriberImpl::in_timeout_
protected

Definition at line 59 of file subscriber_impl.h.

◆ last_header_stamp_

ros::Time swri::SubscriberImpl::last_header_stamp_
protected

Definition at line 47 of file subscriber_impl.h.

◆ last_receive_time_

ros::Time swri::SubscriberImpl::last_receive_time_
protected

Definition at line 48 of file subscriber_impl.h.

◆ mapped_topic_

std::string swri::SubscriberImpl::mapped_topic_
protected

Definition at line 43 of file subscriber_impl.h.

◆ max_latency_

ros::Duration swri::SubscriberImpl::max_latency_
protected

Definition at line 52 of file subscriber_impl.h.

◆ max_period_

ros::Duration swri::SubscriberImpl::max_period_
protected

Definition at line 56 of file subscriber_impl.h.

◆ message_count_

int swri::SubscriberImpl::message_count_
protected

Definition at line 45 of file subscriber_impl.h.

◆ min_latency_

ros::Duration swri::SubscriberImpl::min_latency_
protected

Definition at line 51 of file subscriber_impl.h.

◆ min_period_

ros::Duration swri::SubscriberImpl::min_period_
protected

Definition at line 55 of file subscriber_impl.h.

◆ sub_

ros::Subscriber swri::SubscriberImpl::sub_
protected

Definition at line 41 of file subscriber_impl.h.

◆ timeout_

ros::Duration swri::SubscriberImpl::timeout_
protected

Definition at line 58 of file subscriber_impl.h.

◆ timeout_count_

int swri::SubscriberImpl::timeout_count_
protected

Definition at line 60 of file subscriber_impl.h.

◆ total_latency_

ros::Duration swri::SubscriberImpl::total_latency_
protected

Definition at line 50 of file subscriber_impl.h.

◆ total_periods_

ros::Duration swri::SubscriberImpl::total_periods_
protected

Definition at line 54 of file subscriber_impl.h.

◆ unmapped_topic_

std::string swri::SubscriberImpl::unmapped_topic_
protected

Definition at line 42 of file subscriber_impl.h.


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


swri_roscpp
Author(s): P. J. Reed
autogenerated on Fri Aug 2 2024 08:39:15