Go to the documentation of this file.
29 #ifndef ROSCPP_SUBSCRIBER_HANDLE_H
30 #define ROSCPP_SUBSCRIBER_HANDLE_H
33 #include "ros/forwards.h"
34 #include "ros/subscription_callback_helper.h"
65 std::string getTopic()
const;
70 uint32_t getNumPublishers()
const;
72 operator void*()
const {
return (impl_ && impl_->isValid()) ? (
void*)1 : (
void*)0; }
76 return impl_ < rhs.
impl_;
81 return impl_ == rhs.
impl_;
86 return impl_ != rhs.
impl_;
101 bool isValid()
const;
114 friend class NodeHandleBackingCollection;
120 #endif // ROSCPP_PUBLISHER_HANDLE_H
std::shared_ptr< NodeHandle > NodeHandlePtr
Manages an subscription callback on a specific topic.
std::weak_ptr< Impl > ImplWPtr
ROSCPP_DECL void shutdown()
Disconnects everything and unregisters from the master. It is generally not necessary to call this fu...
std::shared_ptr< Impl > ImplPtr
bool operator<(const Subscriber &rhs) const
SubscriptionCallbackHelperPtr helper_
std::shared_ptr< SubscriptionCallbackHelper > SubscriptionCallbackHelperPtr
roscpp's interface for creating subscribers, publishers, etc.
NodeHandlePtr node_handle_
bool operator==(const Subscriber &rhs) const
std::vector< Subscriber > V_Subscriber
bool operator!=(const Subscriber &rhs) const
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:12