#include <time_cache.h>
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, std::string *error_str=0) |
Insert data into the cache. More... | |
Private Attributes | |
TransformStorage | storage_ |
Definition at line 136 of file time_cache.h.
|
virtual |
Clear the list of stored values.
Implements tf2::TimeCacheInterface.
Definition at line 57 of file static_cache.cpp.
|
virtual |
Virtual methods.
Implements tf2::TimeCacheInterface.
Definition at line 41 of file static_cache.cpp.
|
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.
|
virtual |
Get the latest timestamp cached.
Implements tf2::TimeCacheInterface.
Definition at line 71 of file static_cache.cpp.
|
virtual |
Debugging information methods.
Implements tf2::TimeCacheInterface.
Definition at line 59 of file static_cache.cpp.
|
virtual |
Get the oldest timestamp cached.
Implements tf2::TimeCacheInterface.
Definition at line 76 of file static_cache.cpp.
|
virtual |
Retrieve the parent at a specific time.
Implements tf2::TimeCacheInterface.
Definition at line 61 of file static_cache.cpp.
|
virtual |
Insert data into the cache.
Implements tf2::TimeCacheInterface.
Definition at line 48 of file static_cache.cpp.
|
private |
Definition at line 155 of file time_cache.h.