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 130 of file subscriber_impl.h.

Member Function Documentation

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

Definition at line 169 of file subscriber_impl.h.

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

Definition at line 252 of file subscriber_impl.h.

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

Definition at line 108 of file subscriber_impl.h.

bool swri::SubscriberImpl::inTimeout ( )
inline

Definition at line 276 of file subscriber_impl.h.

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

Definition at line 142 of file subscriber_impl.h.

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

Definition at line 200 of file subscriber_impl.h.

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

Definition at line 236 of file subscriber_impl.h.

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

Definition at line 209 of file subscriber_impl.h.

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

Definition at line 182 of file subscriber_impl.h.

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

Definition at line 218 of file subscriber_impl.h.

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

Definition at line 164 of file subscriber_impl.h.

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

Definition at line 191 of file subscriber_impl.h.

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

Definition at line 227 of file subscriber_impl.h.

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

Definition at line 152 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 157 of file subscriber_impl.h.

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

Definition at line 245 of file subscriber_impl.h.

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

Definition at line 266 of file subscriber_impl.h.

int swri::SubscriberImpl::timeoutCount ( )
inline

Definition at line 282 of file subscriber_impl.h.

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

Definition at line 271 of file subscriber_impl.h.

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

Definition at line 262 of file subscriber_impl.h.

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

Definition at line 147 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 Fri Jun 7 2019 22:05:50