28 #ifndef ROSCPP_SUBSCRIBER_HANDLE_H 29 #define ROSCPP_SUBSCRIBER_HANDLE_H 64 std::string getTopic()
const;
69 uint32_t getNumPublishers()
const;
71 operator void*()
const {
return (impl_ && impl_->isValid()) ? (
void*)1 : (
void*)0; }
75 return impl_ < rhs.
impl_;
80 return impl_ == rhs.
impl_;
85 return impl_ != rhs.
impl_;
100 bool isValid()
const;
119 #endif // ROSCPP_PUBLISHER_HANDLE_H Manages an subscription callback on a specific topic.
std::vector< Subscriber > V_Subscriber
SubscriptionCallbackHelperPtr helper_
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...
bool operator!=(const Subscriber &rhs) const
bool operator==(const Subscriber &rhs) const