28 #ifndef ROSCPP_SUBSCRIBER_HANDLE_H 29 #define ROSCPP_SUBSCRIBER_HANDLE_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;
120 #endif // ROSCPP_PUBLISHER_HANDLE_H Manages an subscription callback on a specific topic.
std::vector< Subscriber > V_Subscriber
bool operator<(const Subscriber &rhs) const
SubscriptionCallbackHelperPtr helper_
bool operator==(const Subscriber &rhs) const
bool operator!=(const Subscriber &rhs) const
roscpp's interface for creating subscribers, publishers, etc.
boost::shared_ptr< Impl > ImplPtr
boost::weak_ptr< Impl > ImplWPtr
NodeHandlePtr node_handle_
ROSCPP_DECL void shutdown()
Disconnects everything and unregisters from the master. It is generally not necessary to call this fu...