52 #include <tf/time_cache.h> 53 #include <tf/exceptions.h> 82 copy->storage_ = storage_;
83 copy->storage_as_list_ = storage_as_list_;
84 return std::shared_ptr<TimeCacheInterface>(copy);
89 std::string* error_str)
92 data_out.
stamp = time;
100 storage_as_list_.front() = new_data;
143 return storage_as_list_;
149 return storage_as_list_;
virtual unsigned int get_list_length() const
Debugging information methods.
virtual L_TransformStorage get_storage_copy() const
Get copy of storage elements.
Fawkes library namespace.
A class for handling time.
virtual CompactFrameID get_parent(fawkes::Time time, std::string *error_str)
Get parent frame number.
std::list< TransformStorage > L_TransformStorage
List of stored transforms.
virtual bool get_data(fawkes::Time time, TransformStorage &data_out, std::string *error_str=0)
Get data.
virtual TimeCacheInterfacePtr clone(const fawkes::Time &look_back_until=fawkes::Time(0, 0)) const
Create a copy of this time cache.
Transform cache for static transforms.
virtual void clear_list()
Clear storage.
virtual const L_TransformStorage & get_storage() const
Get storage list.
virtual bool insert_data(const TransformStorage &new_data)
Insert data.
StaticCache()
Constructor.
virtual fawkes::Time get_latest_timestamp() const
Get latest timestamp from cache.
virtual fawkes::Time get_oldest_timestamp() const
Get oldest timestamp from cache.
virtual P_TimeAndFrameID get_latest_time_and_parent()
Get latest time and parent frame number.