Class StaticCache

Inheritance Relationships

Base Type

Class Documentation

class StaticCache : public tf2::TimeCacheInterface

Public Functions

virtual bool getData(TimePoint time, TransformStorage &data_out, std::string *error_str = nullptr, TF2Error *error_code = nullptr) override

Overridden methods.

virtual bool insertData(const TransformStorage &new_data) override

Insert data into the cache.

virtual void clearList() override

Clear the list of stored values.

virtual CompactFrameID getParent(TimePoint time, std::string *error_str = nullptr, TF2Error *error_code = nullptr) override

Retrieve the parent at a specific time.

virtual P_TimeAndFrameID getLatestTimeAndParent() override

Get the latest time stored in this cache, and the parent associated with it. Returns parent = 0 if no data.

virtual unsigned int getListLength() override

Debugging information methods.

virtual TimePoint getLatestTimestamp() override

Get the latest timestamp cached.

virtual TimePoint getOldestTimestamp() override

Get the oldest timestamp cached.