Public Member Functions
tf2::TimeCacheInterface Class Reference

#include <time_cache.h>

Inheritance diagram for tf2::TimeCacheInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void clearList ()=0
 Clear the list of stored values.
virtual bool getData (ros::Time time, TransformStorage &data_out, std::string *error_str=0)=0
 Access data from the cache.
virtual P_TimeAndFrameID getLatestTimeAndParent ()=0
 Get the latest time stored in this cache, and the parent associated with it. Returns parent = 0 if no data.
virtual ros::Time getLatestTimestamp ()=0
 Get the latest timestamp cached.
virtual unsigned int getListLength ()=0
 Debugging information methods.
virtual ros::Time getOldestTimestamp ()=0
 Get the oldest timestamp cached.
virtual CompactFrameID getParent (ros::Time time, std::string *error_str)=0
 Retrieve the parent at a specific time.
virtual bool insertData (const TransformStorage &new_data)=0
 Insert data into the cache.

Detailed Description

Definition at line 56 of file time_cache.h.


Member Function Documentation

virtual void tf2::TimeCacheInterface::clearList ( ) [pure virtual]

Clear the list of stored values.

Implemented in tf2::StaticCache, and tf2::TimeCache.

virtual bool tf2::TimeCacheInterface::getData ( ros::Time  time,
TransformStorage data_out,
std::string *  error_str = 0 
) [pure virtual]

Access data from the cache.

Implemented in tf2::StaticCache, and tf2::TimeCache.

Get the latest time stored in this cache, and the parent associated with it. Returns parent = 0 if no data.

Implemented in tf2::StaticCache, and tf2::TimeCache.

Get the latest timestamp cached.

Implemented in tf2::StaticCache, and tf2::TimeCache.

virtual unsigned int tf2::TimeCacheInterface::getListLength ( ) [pure virtual]

Debugging information methods.

Get the length of the stored list

Implemented in tf2::StaticCache, and tf2::TimeCache.

Get the oldest timestamp cached.

Implemented in tf2::StaticCache, and tf2::TimeCache.

virtual CompactFrameID tf2::TimeCacheInterface::getParent ( ros::Time  time,
std::string *  error_str 
) [pure virtual]

Retrieve the parent at a specific time.

Implemented in tf2::StaticCache, and tf2::TimeCache.

virtual bool tf2::TimeCacheInterface::insertData ( const TransformStorage new_data) [pure virtual]

Insert data into the cache.

Implemented in tf2::StaticCache, and tf2::TimeCache.


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


tf2
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Thu Jun 6 2019 20:22:56