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


Member Function Documentation

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

Definition at line 162 of file subscriber_impl.h.

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

Definition at line 241 of file subscriber_impl.h.

void swri::SubscriberImpl::checkTimeout ( const ros::Time now) [inline, protected]

Definition at line 104 of file subscriber_impl.h.

Definition at line 265 of file subscriber_impl.h.

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

Definition at line 135 of file subscriber_impl.h.

Definition at line 189 of file subscriber_impl.h.

Definition at line 225 of file subscriber_impl.h.

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

Definition at line 198 of file subscriber_impl.h.

Definition at line 171 of file subscriber_impl.h.

Definition at line 207 of file subscriber_impl.h.

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

Definition at line 157 of file subscriber_impl.h.

Definition at line 180 of file subscriber_impl.h.

Definition at line 216 of file subscriber_impl.h.

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

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

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

Definition at line 234 of file subscriber_impl.h.

Definition at line 255 of file subscriber_impl.h.

Definition at line 271 of file subscriber_impl.h.

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

Definition at line 260 of file subscriber_impl.h.

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

Definition at line 251 of file subscriber_impl.h.

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

Definition at line 140 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 Tue Oct 3 2017 03:19:27