Fawkes API
Fawkes Development Version
|
Transform cache for static transforms. More...
#include <>>
Public Member Functions | |
StaticCache () | |
Constructor. More... | |
virtual TimeCacheInterfacePtr | clone (const fawkes::Time &look_back_until=fawkes::Time(0, 0)) const |
Create a copy of this time cache. More... | |
virtual bool | get_data (fawkes::Time time, TransformStorage &data_out, std::string *error_str=0) |
Get data. More... | |
virtual bool | insert_data (const TransformStorage &new_data) |
Insert data. More... | |
virtual void | clear_list () |
Clear storage. More... | |
virtual CompactFrameID | get_parent (fawkes::Time time, std::string *error_str) |
Get parent frame number. More... | |
virtual P_TimeAndFrameID | get_latest_time_and_parent () |
Get latest time and parent frame number. More... | |
virtual unsigned int | get_list_length () const |
Debugging information methods. More... | |
virtual fawkes::Time | get_latest_timestamp () const |
Get latest timestamp from cache. More... | |
virtual fawkes::Time | get_oldest_timestamp () const |
Get oldest timestamp from cache. More... | |
virtual const L_TransformStorage & | get_storage () const |
Get storage list. More... | |
virtual L_TransformStorage | get_storage_copy () const |
Get copy of storage elements. More... | |
Additional Inherited Members | |
![]() | |
typedef std::list< TransformStorage > | L_TransformStorage |
List of stored transforms. More... | |
Transform cache for static transforms.
Definition at line 142 of file time_cache.h.
fawkes::tf::StaticCache::StaticCache | ( | ) |
|
virtual |
Clear storage.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 105 of file static_cache.cpp.
|
virtual |
Create a copy of this time cache.
look_back_until | Ignored for static caches |
Implements fawkes::tf::TimeCacheInterface.
Definition at line 79 of file static_cache.cpp.
References StaticCache().
|
virtual |
Get data.
time | time for which go get data |
data_out | upon return contains requested data |
error_str | error stirng |
Implements fawkes::tf::TimeCacheInterface.
Definition at line 88 of file static_cache.cpp.
References fawkes::tf::TransformStorage::stamp.
|
virtual |
Get latest time and parent frame number.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 123 of file static_cache.cpp.
References fawkes::tf::TransformStorage::frame_id.
|
virtual |
Get latest timestamp from cache.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 129 of file static_cache.cpp.
|
virtual |
Debugging information methods.
Get storage list length.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 111 of file static_cache.cpp.
|
virtual |
Get oldest timestamp from cache.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 135 of file static_cache.cpp.
|
virtual |
Get parent frame number.
time | point in time |
error_str | error string |
Implements fawkes::tf::TimeCacheInterface.
Definition at line 117 of file static_cache.cpp.
References fawkes::tf::TransformStorage::frame_id.
|
virtual |
Get storage list.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 141 of file static_cache.cpp.
|
virtual |
Get copy of storage elements.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 147 of file static_cache.cpp.
|
virtual |
Insert data.
new_data | data to insert |
Implements fawkes::tf::TimeCacheInterface.
Definition at line 97 of file static_cache.cpp.