Public Member Functions | Private Attributes
tf2::StaticCache Class Reference

#include <time_cache.h>

Inheritance diagram for tf2::StaticCache:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void clearList ()
 Clear the list of stored values.
virtual bool getData (ros::Time time, TransformStorage &data_out, std::string *error_str=0)
 Virtual methods.
virtual P_TimeAndFrameID getLatestTimeAndParent ()
 Get the latest time stored in this cache, and the parent associated with it. Returns parent = 0 if no data.
virtual ros::Time getLatestTimestamp ()
 Get the latest timestamp cached.
virtual unsigned int getListLength ()
 Debugging information methods.
virtual ros::Time getOldestTimestamp ()
 Get the oldest timestamp cached.
virtual CompactFrameID getParent (ros::Time time, std::string *error_str)
 Retrieve the parent at a specific time.
virtual bool insertData (const TransformStorage &new_data)
 Insert data into the cache.

Private Attributes

TransformStorage storage_

Detailed Description

Definition at line 138 of file time_cache.h.


Member Function Documentation

void StaticCache::clearList ( ) [virtual]

Clear the list of stored values.

Implements tf2::TimeCacheInterface.

Definition at line 57 of file static_cache.cpp.

bool StaticCache::getData ( ros::Time  time,
TransformStorage data_out,
std::string *  error_str = 0 
) [virtual]

Virtual methods.

Implements tf2::TimeCacheInterface.

Definition at line 41 of file static_cache.cpp.

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

Implements tf2::TimeCacheInterface.

Definition at line 66 of file static_cache.cpp.

Get the latest timestamp cached.

Implements tf2::TimeCacheInterface.

Definition at line 71 of file static_cache.cpp.

unsigned int StaticCache::getListLength ( ) [virtual]

Debugging information methods.

Implements tf2::TimeCacheInterface.

Definition at line 59 of file static_cache.cpp.

Get the oldest timestamp cached.

Implements tf2::TimeCacheInterface.

Definition at line 76 of file static_cache.cpp.

CompactFrameID StaticCache::getParent ( ros::Time  time,
std::string *  error_str 
) [virtual]

Retrieve the parent at a specific time.

Implements tf2::TimeCacheInterface.

Definition at line 61 of file static_cache.cpp.

bool StaticCache::insertData ( const TransformStorage new_data) [virtual]

Insert data into the cache.

Implements tf2::TimeCacheInterface.

Definition at line 48 of file static_cache.cpp.


Member Data Documentation

Definition at line 157 of file time_cache.h.


The documentation for this class was generated from the following files:


tf2
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Thu Aug 27 2015 13:09:58