27 struct NodeletWithSharedTfBufferPrivate;
41 virtual void setBuffer(const ::std::shared_ptr<::tf2_ros::Buffer>& buffer) = 0;
51 virtual ::cras::NodeletAwareTFBuffer& getBuffer()
const = 0;
57 virtual bool usesSharedBuffer()
const = 0;
68 template <
typename NodeletType = ::nodelet::Nodelet>
75 void setBuffer(const ::std::shared_ptr<::tf2_ros::Buffer>& buffer)
override;
77 bool usesSharedBuffer()
const override;
80 using NodeletType::getName;
84 ::std::unique_ptr<::cras::impl::NodeletWithSharedTfBufferPrivate>
data;
89 #include "impl/nodelet_with_shared_tf_buffer.hpp"
TF buffer that can be correctly interrupted by nodelet unload.
::std::unique_ptr<::cras::impl::NodeletWithSharedTfBufferPrivate > data
PIMPL.
A nodelet mixin that allows to use a tf2_ros::Buffer provided by the nodelet manager (which should sa...
Public non-template API of NodeletWithSharedTfBuffer. Dynamic_cast a nodelet to this type if you need...