tf2_ros  master
This package contains the ROS bindings for the tf2 library, for both Python and C++.
Public Member Functions | List of all members
tf2_ros::AsyncBufferInterface Class Referenceabstract

Abstract interface for asynchronous operations on a tf2::BufferCoreInterface. Implementations include tf2_ros::Buffer. More...

#include <async_buffer_interface.h>

Inheritance diagram for tf2_ros::AsyncBufferInterface:
Inheritance graph
[legend]

Public Member Functions

virtual TF2_ROS_PUBLIC ~AsyncBufferInterface ()=default
 
virtual TF2_ROS_PUBLIC TransformStampedFuture waitForTransform (const std::string &target_frame, const std::string &source_frame, const tf2::TimePoint &time, const tf2::Duration &timeout, TransformReadyCallback callback)=0
 Wait for a transform between two frames to become available. More...
 

Detailed Description

Abstract interface for asynchronous operations on a tf2::BufferCoreInterface. Implementations include tf2_ros::Buffer.

Constructor & Destructor Documentation

◆ ~AsyncBufferInterface()

virtual TF2_ROS_PUBLIC tf2_ros::AsyncBufferInterface::~AsyncBufferInterface ( )
virtualdefault

Member Function Documentation

◆ waitForTransform()

virtual TF2_ROS_PUBLIC TransformStampedFuture tf2_ros::AsyncBufferInterface::waitForTransform ( const std::string target_frame,
const std::string source_frame,
const tf2::TimePoint &  time,
const tf2::Duration &  timeout,
TransformReadyCallback  callback 
)
pure virtual

Wait for a transform between two frames to become available.

Parameters
target_frameThe frame into which to transform.
source_frameThe frame from which to tranform.
timeThe time at which to transform.
timeoutDuration after which waiting will be stopped.
callbackThe function to be called when the transform becomes available or a timeout occurs. In the case of timeout, an exception will be set on the future.
Returns
A future to the requested transform. If a timeout occurs a tf2::LookupException will be set on the future.

Implemented in tf2_ros::Buffer.


The documentation for this class was generated from the following file: