Public Member Functions | Private Attributes | List of all members
tf2::StaticCache Class Reference

#include <time_cache.h>

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

Public Member Functions

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

Private Attributes

TransformStorage storage_
 

Detailed Description

Definition at line 138 of file time_cache.h.

Member Function Documentation

void StaticCache::clearList ( )
virtual

Clear the list of stored values.

Implements tf2::TimeCacheInterface.

Definition at line 57 of file static_cache.cpp.

bool StaticCache::getData ( ros::Time  time,
TransformStorage data_out,
std::string *  error_str = 0 
)
virtual

Virtual methods.

Implements tf2::TimeCacheInterface.

Definition at line 41 of file static_cache.cpp.

P_TimeAndFrameID StaticCache::getLatestTimeAndParent ( )
virtual

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

Implements tf2::TimeCacheInterface.

Definition at line 66 of file static_cache.cpp.

ros::Time StaticCache::getLatestTimestamp ( )
virtual

Get the latest timestamp cached.

Implements tf2::TimeCacheInterface.

Definition at line 71 of file static_cache.cpp.

unsigned int StaticCache::getListLength ( )
virtual

Debugging information methods.

Implements tf2::TimeCacheInterface.

Definition at line 59 of file static_cache.cpp.

ros::Time StaticCache::getOldestTimestamp ( )
virtual

Get the oldest timestamp cached.

Implements tf2::TimeCacheInterface.

Definition at line 76 of file static_cache.cpp.

CompactFrameID StaticCache::getParent ( ros::Time  time,
std::string *  error_str 
)
virtual

Retrieve the parent at a specific time.

Implements tf2::TimeCacheInterface.

Definition at line 61 of file static_cache.cpp.

bool StaticCache::insertData ( const TransformStorage new_data)
virtual

Insert data into the cache.

Implements tf2::TimeCacheInterface.

Definition at line 48 of file static_cache.cpp.

Member Data Documentation

TransformStorage tf2::StaticCache::storage_
private

Definition at line 157 of file time_cache.h.


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


tf2
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Fri Oct 16 2020 19:08:50