Public non-template API of NodeletWithSharedTfBuffer. Dynamic_cast a nodelet to this type if you need to access this API publicly. More...
#include <nodelet_with_shared_tf_buffer.hpp>
Public Member Functions | |
virtual ::cras::NodeletAwareTFBuffer & | getBuffer () const =0 |
Get the TF buffer used by the nodelet. If none has been set by setBuffer() , a buffer is automatically created. More... | |
virtual void | setBuffer (const ::std::shared_ptr<::tf2_ros::Buffer > &buffer)=0 |
Set the TF buffer to be used by the nodelet. If this method is not called, a standalone buffer is created. More... | |
virtual bool | usesSharedBuffer () const =0 |
Whether the buffer set using setBuffer() is used or a standalone buffer has been automatically created. More... | |
Public non-template API of NodeletWithSharedTfBuffer. Dynamic_cast a nodelet to this type if you need to access this API publicly.
Definition at line 34 of file nodelet_with_shared_tf_buffer.hpp.
|
pure virtual |
Get the TF buffer used by the nodelet. If none has been set by setBuffer()
, a buffer is automatically created.
Implemented in cras::NodeletWithSharedTfBuffer< NodeletType >, cras::NodeletWithSharedTfBuffer< BaseNodelet >, and cras::NodeletWithSharedTfBuffer< ::nodelet::Nodelet >.
|
pure virtual |
Set the TF buffer to be used by the nodelet. If this method is not called, a standalone buffer is created.
[in] | buffer | The buffer to use. |
Implemented in cras::NodeletWithSharedTfBuffer< NodeletType >, cras::NodeletWithSharedTfBuffer< BaseNodelet >, and cras::NodeletWithSharedTfBuffer< ::nodelet::Nodelet >.
|
pure virtual |
Whether the buffer set using setBuffer()
is used or a standalone buffer has been automatically created.
setBuffer()
is used or a standalone buffer has been automatically created. Implemented in cras::NodeletWithSharedTfBuffer< NodeletType >, cras::NodeletWithSharedTfBuffer< BaseNodelet >, and cras::NodeletWithSharedTfBuffer< ::nodelet::Nodelet >.