|
Fawkes API
Fawkes Development Version
|
#include <>>

Public Member Functions | |
| StaticCache () | |
| Constructor. More... | |
| virtual | ~StaticCache () |
| Destructor . 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) |
| virtual bool | insert_data (const TransformStorage &new_data) |
| virtual void | clear_list () |
| virtual CompactFrameID | get_parent (fawkes::Time time, std::string *error_str) |
| virtual P_TimeAndFrameID | get_latest_time_and_parent () |
| virtual unsigned int | get_list_length () const |
| Debugging information methods. More... | |
| virtual fawkes::Time | get_latest_timestamp () const |
| virtual fawkes::Time | get_oldest_timestamp () const |
| virtual const L_TransformStorage & | get_storage () const |
| virtual L_TransformStorage | get_storage_copy () const |
Additional Inherited Members | |
Public Types inherited from fawkes::tf::TimeCacheInterface | |
| typedef std::list< TransformStorage > | L_TransformStorage |
| List of stored transforms. More... | |
Transform cache for static transforms.
Definition at line 151 of file time_cache.h.
| fawkes::tf::StaticCache::StaticCache | ( | ) |
|
virtual |
|
virtual |
Clear storage.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 114 of file static_cache.cpp.
References fawkes::tf::TransformStorage::frame_id.
|
virtual |
Create a copy of this time cache.
| look_back_until | Ignored for static caches |
Implements fawkes::tf::TimeCacheInterface.
Definition at line 89 of file static_cache.cpp.
References fawkes::tf::TransformStorage::stamp.
|
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 98 of file static_cache.cpp.
|
virtual |
Get latest time and parent frame number.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 132 of file static_cache.cpp.
|
virtual |
Get latest timestamp from cache.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 138 of file static_cache.cpp.
|
virtual |
Debugging information methods.
Get storage list length.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 120 of file static_cache.cpp.
References fawkes::tf::TransformStorage::frame_id.
|
virtual |
Get oldest timestamp from cache.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 144 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 126 of file static_cache.cpp.
|
virtual |
Get storage list.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 150 of file static_cache.cpp.
|
virtual |
Get copy of storage elements.
Implements fawkes::tf::TimeCacheInterface.
Definition at line 156 of file static_cache.cpp.
|
virtual |
Insert data.
| new_data | data to insert |
Implements fawkes::tf::TimeCacheInterface.
Definition at line 106 of file static_cache.cpp.