Fawkes API
Fawkes Development Version
|
Interface for transform time caches. More...
#include <>>
Public Types | |
typedef std::list< TransformStorage > | L_TransformStorage |
List of stored transforms. More... | |
Public Member Functions | |
virtual TimeCacheInterfacePtr | clone (const fawkes::Time &look_back_until=fawkes::Time(0, 0)) const =0 |
Create a copy of this time cache. More... | |
virtual bool | get_data (fawkes::Time time, TransformStorage &data_out, std::string *error_str=0)=0 |
Get data. More... | |
virtual bool | insert_data (const TransformStorage &new_data)=0 |
Insert data. More... | |
virtual void | clear_list ()=0 |
Clear storage. More... | |
virtual CompactFrameID | get_parent (fawkes::Time time, std::string *error_str)=0 |
Get parent frame number. More... | |
virtual P_TimeAndFrameID | get_latest_time_and_parent ()=0 |
Get latest time and parent frame number. More... | |
virtual unsigned int | get_list_length () const =0 |
Debugging information methods. More... | |
virtual fawkes::Time | get_latest_timestamp () const =0 |
Get latest timestamp from cache. More... | |
virtual fawkes::Time | get_oldest_timestamp () const =0 |
Get oldest timestamp from cache. More... | |
virtual const L_TransformStorage & | get_storage () const =0 |
Get storage list. More... | |
virtual L_TransformStorage | get_storage_copy () const =0 |
Get copy of storage elements. More... | |
Interface for transform time caches.
Definition at line 74 of file time_cache.h.
typedef std::list<TransformStorage> fawkes::tf::TimeCacheInterface::L_TransformStorage |
List of stored transforms.
Definition at line 78 of file time_cache.h.
|
pure virtual |
Clear storage.
Implemented in fawkes::tf::StaticCache, and fawkes::tf::TimeCache.
|
pure virtual |
Create a copy of this time cache.
look_back_until | if non-zero time is passed only include transforms younger than the given time. |
Implemented in fawkes::tf::StaticCache, and fawkes::tf::TimeCache.
|
pure virtual |
Get data.
time | time for which go get data |
data_out | upon return contains requested data |
error_str | error stirng |
Implemented in fawkes::tf::StaticCache, and fawkes::tf::TimeCache.
|
pure virtual |
Get latest time and parent frame number.
Implemented in fawkes::tf::StaticCache, and fawkes::tf::TimeCache.
|
pure virtual |
Get latest timestamp from cache.
Implemented in fawkes::tf::StaticCache, and fawkes::tf::TimeCache.
|
pure virtual |
Debugging information methods.
Get storage list length.
Implemented in fawkes::tf::StaticCache, and fawkes::tf::TimeCache.
|
pure virtual |
Get oldest timestamp from cache.
Implemented in fawkes::tf::StaticCache, and fawkes::tf::TimeCache.
|
pure virtual |
Get parent frame number.
time | point in time |
error_str | error string |
Implemented in fawkes::tf::StaticCache, and fawkes::tf::TimeCache.
|
pure virtual |
Get storage list.
Implemented in fawkes::tf::StaticCache, and fawkes::tf::TimeCache.
|
pure virtual |
Get copy of storage elements.
Implemented in fawkes::tf::StaticCache, and fawkes::tf::TimeCache.
|
pure virtual |
Insert data.
new_data | data to insert |
Implemented in fawkes::tf::StaticCache, and fawkes::tf::TimeCache.