tf2
master
tf2 maintains the relationship between coordinate frames in a tree structure buffered in time, and lets the user transform points, vectors, etc between any two coordinate frames at any desired point in time.
|
#include <time_cache.h>
Public Member Functions | |
virtual | ~TimeCacheInterface ()=default |
virtual bool | getData (TimePoint time, TransformStorage &data_out, std::string *error_str=0)=0 |
Access data from the cache. More... | |
virtual bool | insertData (const TransformStorage &new_data)=0 |
Insert data into the cache. More... | |
virtual void | clearList ()=0 |
Clear the list of stored values. More... | |
virtual CompactFrameID | getParent (TimePoint time, std::string *error_str)=0 |
Retrieve the parent at a specific time. More... | |
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. More... | |
virtual unsigned int | getListLength ()=0 |
Debugging information methods. More... | |
virtual TimePoint | getLatestTimestamp ()=0 |
Get the latest timestamp cached. More... | |
virtual TimePoint | getOldestTimestamp ()=0 |
Get the oldest timestamp cached. More... | |
|
virtualdefault |
|
pure virtual |
Access data from the cache.
Implemented in tf2::StaticCache, and tf2::TimeCache.
|
pure virtual |
Insert data into the cache.
Implemented in tf2::StaticCache, and tf2::TimeCache.
|
pure virtual |
Clear the list of stored values.
Implemented in tf2::StaticCache, and tf2::TimeCache.
|
pure virtual |
Retrieve the parent at a specific time.
Implemented in tf2::StaticCache, and tf2::TimeCache.
|
pure virtual |
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.
|
pure virtual |
Debugging information methods.
Get the length of the stored list
Implemented in tf2::StaticCache, and tf2::TimeCache.
|
pure virtual |
Get the latest timestamp cached.
Implemented in tf2::StaticCache, and tf2::TimeCache.
|
pure virtual |
Get the oldest timestamp cached.
Implemented in tf2::StaticCache, and tf2::TimeCache.