Public Member Functions | Protected Member Functions | Protected Attributes
swri::SubscriberImpl Class Reference

#include <subscriber_impl.h>

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

List of all members.

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

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) [inline, protected]

Definition at line 108 of file subscriber_impl.h.

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.

Definition at line 200 of file subscriber_impl.h.

Definition at line 236 of file subscriber_impl.h.

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

Definition at line 209 of file subscriber_impl.h.

Definition at line 182 of file subscriber_impl.h.

Definition at line 218 of file subscriber_impl.h.

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

Definition at line 164 of file subscriber_impl.h.

Definition at line 191 of file subscriber_impl.h.

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) [inline, protected]

Definition at line 63 of file subscriber_impl.h.

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.

Definition at line 266 of file subscriber_impl.h.

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

Definition at line 61 of file subscriber_impl.h.

Definition at line 59 of file subscriber_impl.h.

Definition at line 47 of file subscriber_impl.h.

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.

Definition at line 52 of file subscriber_impl.h.

Definition at line 56 of file subscriber_impl.h.

Definition at line 45 of file subscriber_impl.h.

Definition at line 51 of file subscriber_impl.h.

Definition at line 55 of file subscriber_impl.h.

Definition at line 41 of file subscriber_impl.h.

Definition at line 58 of file subscriber_impl.h.

Definition at line 60 of file subscriber_impl.h.

Definition at line 50 of file subscriber_impl.h.

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 Thu Jun 6 2019 20:34:48