#include <subscriber.h>
|
ros::Duration | age (const ros::Time &now=ros::TIME_MIN) const |
|
double | ageMilliseconds (const ros::Time &now=ros::TIME_MIN) const |
|
double | ageSeconds (const ros::Time &now=ros::TIME_MIN) const |
|
void | appendDiagnostics (diagnostic_updater::DiagnosticStatusWrapper &status, const std::string &name, const int flags) |
|
bool | blockTimeouts (bool block) |
|
bool | inTimeout () |
|
const std::string & | mappedTopic () const |
|
ros::Duration | maxLatency () const |
|
double | maxLatencyMicroseconds () const |
|
ros::Duration | maxPeriod () const |
|
double | maxPeriodMilliseconds () const |
|
double | meanFrequencyHz () const |
|
ros::Duration | meanLatency () const |
|
double | meanLatencyMicroseconds () const |
|
ros::Duration | meanPeriod () const |
|
double | meanPeriodMilliseconds () const |
|
int | messageCount () const |
|
ros::Duration | minLatency () const |
|
double | minLatencyMicroseconds () const |
|
ros::Duration | minPeriod () const |
|
double | minPeriodMilliseconds () const |
|
int | numPublishers () const |
|
Subscriber & | operator= (const Subscriber &other) |
|
void | resetStatistics () |
|
void | setTimeout (const double time_out) |
|
void | setTimeout (const ros::Duration &time_out) |
|
| Subscriber () |
|
template<class M > |
| Subscriber (ros::NodeHandle &nh, const std::string &topic, boost::shared_ptr< M const > *dest, const ros::TransportHints &transport_hints=ros::TransportHints()) |
|
template<class M > |
| Subscriber (ros::NodeHandle &nh, const std::string &topic, uint32_t queue_size, const boost::function< void(const boost::shared_ptr< M const > &)> &callback, const ros::TransportHints &transport_hints=ros::TransportHints()) |
|
template<class M , class T > |
| Subscriber (ros::NodeHandle &nh, const std::string &topic, uint32_t queue_size, void(T::*fp)(const boost::shared_ptr< M const > &), T *obj, const ros::TransportHints &transport_hints=ros::TransportHints()) |
|
ros::Duration | timeout () const |
|
int | timeoutCount () |
|
bool | timeoutEnabled () const |
|
double | timeoutMilliseconds () const |
|
void | timeoutParam (const ros::NodeHandle &nh, const std::string ¶meter_name, const double default_value) |
|
bool | timeoutsBlocked () const |
|
const std::string & | unmappedTopic () const |
|
virtual | ~Subscriber () |
|
Definition at line 61 of file subscriber.h.
◆ DIAGNOSTIC_FLAGS
Enumerator |
---|
DIAG_CONNECTION | |
DIAG_MSG_COUNT | |
DIAG_TIMEOUT | |
DIAG_LATENCY | |
DIAG_RATE | |
DIAG_ALL | |
DIAG_MOST | |
Definition at line 181 of file subscriber.h.
◆ Subscriber() [1/4]
swri::Subscriber::Subscriber |
( |
| ) |
|
|
inline |
◆ Subscriber() [2/4]
template<class M , class T >
◆ Subscriber() [3/4]
◆ Subscriber() [4/4]
◆ ~Subscriber()
virtual swri::Subscriber::~Subscriber |
( |
| ) |
|
|
inlinevirtual |
◆ age()
◆ ageMilliseconds()
◆ ageSeconds()
◆ appendDiagnostics()
◆ blockTimeouts()
bool swri::Subscriber::blockTimeouts |
( |
bool |
block | ) |
|
|
inline |
◆ inTimeout()
bool swri::Subscriber::inTimeout |
( |
| ) |
|
|
inline |
◆ mappedTopic()
const std::string & swri::Subscriber::mappedTopic |
( |
| ) |
const |
|
inline |
◆ maxLatency()
◆ maxLatencyMicroseconds()
double swri::Subscriber::maxLatencyMicroseconds |
( |
| ) |
const |
|
inline |
◆ maxPeriod()
◆ maxPeriodMilliseconds()
double swri::Subscriber::maxPeriodMilliseconds |
( |
| ) |
const |
|
inline |
◆ meanFrequencyHz()
double swri::Subscriber::meanFrequencyHz |
( |
| ) |
const |
|
inline |
◆ meanLatency()
◆ meanLatencyMicroseconds()
double swri::Subscriber::meanLatencyMicroseconds |
( |
| ) |
const |
|
inline |
◆ meanPeriod()
◆ meanPeriodMilliseconds()
double swri::Subscriber::meanPeriodMilliseconds |
( |
| ) |
const |
|
inline |
◆ messageCount()
int swri::Subscriber::messageCount |
( |
| ) |
const |
|
inline |
◆ minLatency()
◆ minLatencyMicroseconds()
double swri::Subscriber::minLatencyMicroseconds |
( |
| ) |
const |
|
inline |
◆ minPeriod()
◆ minPeriodMilliseconds()
double swri::Subscriber::minPeriodMilliseconds |
( |
| ) |
const |
|
inline |
◆ numPublishers()
int swri::Subscriber::numPublishers |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ resetStatistics()
void swri::Subscriber::resetStatistics |
( |
| ) |
|
|
inline |
◆ setTimeout() [1/2]
void swri::Subscriber::setTimeout |
( |
const double |
time_out | ) |
|
|
inline |
◆ setTimeout() [2/2]
void swri::Subscriber::setTimeout |
( |
const ros::Duration & |
time_out | ) |
|
|
inline |
◆ timeout()
◆ timeoutCount()
int swri::Subscriber::timeoutCount |
( |
| ) |
|
|
inline |
◆ timeoutEnabled()
bool swri::Subscriber::timeoutEnabled |
( |
| ) |
const |
|
inline |
◆ timeoutMilliseconds()
double swri::Subscriber::timeoutMilliseconds |
( |
| ) |
const |
|
inline |
◆ timeoutParam()
void swri::Subscriber::timeoutParam |
( |
const ros::NodeHandle & |
nh, |
|
|
const std::string & |
parameter_name, |
|
|
const double |
default_value |
|
) |
| |
|
inline |
◆ timeoutsBlocked()
bool swri::Subscriber::timeoutsBlocked |
( |
| ) |
const |
|
inline |
◆ unmappedTopic()
const std::string & swri::Subscriber::unmappedTopic |
( |
| ) |
const |
|
inline |
◆ impl_
The documentation for this class was generated from the following file: