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
 

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

swri::SubscriberImpl::SubscriberImpl ( )
inline

Definition at line 131 of file subscriber_impl.h.

Member Function Documentation

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

Definition at line 170 of file subscriber_impl.h.

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

Definition at line 253 of file subscriber_impl.h.

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

Definition at line 109 of file subscriber_impl.h.

bool swri::SubscriberImpl::inTimeout ( )
inline

Definition at line 277 of file subscriber_impl.h.

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

Definition at line 143 of file subscriber_impl.h.

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

Definition at line 201 of file subscriber_impl.h.

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

Definition at line 237 of file subscriber_impl.h.

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

Definition at line 210 of file subscriber_impl.h.

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

Definition at line 183 of file subscriber_impl.h.

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

Definition at line 219 of file subscriber_impl.h.

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

Definition at line 165 of file subscriber_impl.h.

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

Definition at line 192 of file subscriber_impl.h.

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

Definition at line 228 of file subscriber_impl.h.

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

Definition at line 153 of file subscriber_impl.h.

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

Definition at line 63 of file subscriber_impl.h.

void swri::SubscriberImpl::resetStatistics ( )
inline

Definition at line 158 of file subscriber_impl.h.

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

Definition at line 246 of file subscriber_impl.h.

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

Definition at line 267 of file subscriber_impl.h.

int swri::SubscriberImpl::timeoutCount ( )
inline

Definition at line 283 of file subscriber_impl.h.

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

Definition at line 272 of file subscriber_impl.h.

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

Definition at line 263 of file subscriber_impl.h.

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

Definition at line 148 of file subscriber_impl.h.

Member Data Documentation

bool swri::SubscriberImpl::blocking_timeout_
protected

Definition at line 61 of file subscriber_impl.h.

bool swri::SubscriberImpl::in_timeout_
protected

Definition at line 59 of file subscriber_impl.h.

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

Definition at line 47 of file subscriber_impl.h.

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

Definition at line 48 of file subscriber_impl.h.

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

Definition at line 43 of file subscriber_impl.h.

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

Definition at line 52 of file subscriber_impl.h.

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

Definition at line 56 of file subscriber_impl.h.

int swri::SubscriberImpl::message_count_
protected

Definition at line 45 of file subscriber_impl.h.

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

Definition at line 51 of file subscriber_impl.h.

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

Definition at line 55 of file subscriber_impl.h.

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

Definition at line 41 of file subscriber_impl.h.

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

Definition at line 58 of file subscriber_impl.h.

int swri::SubscriberImpl::timeout_count_
protected

Definition at line 60 of file subscriber_impl.h.

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

Definition at line 50 of file subscriber_impl.h.

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

Definition at line 54 of file subscriber_impl.h.

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):
autogenerated on Tue Apr 6 2021 02:50:35