Public Member Functions | Public Attributes | Private Member Functions
rqt_bag.timeline_cache.TimelineCache Class Reference

List of all members.

Public Member Functions

def __init__
def cache_item
def enqueue
def get_item
def run
def stop

Public Attributes

 item_access
 items
 last_accessed
 listener
 loader
 lock
 max_cache_size
 queue
 stop_flag

Private Member Functions

def _limit_cache
def _update_last_accessed

Detailed Description

Caches items for timeline renderers

Definition at line 40 of file timeline_cache.py.


Constructor & Destructor Documentation

def rqt_bag.timeline_cache.TimelineCache.__init__ (   self,
  loader,
  listener = None,
  max_cache_size = 100 
)

Definition at line 44 of file timeline_cache.py.


Member Function Documentation

Removes LRU's from cache until size of each topic's cache is <= max_cache_size.

Definition at line 159 of file timeline_cache.py.

def rqt_bag.timeline_cache.TimelineCache._update_last_accessed (   self,
  topic,
  stamp 
) [private]
Maintains a sorted list of cache accesses by timestamp for each topic.

Definition at line 133 of file timeline_cache.py.

def rqt_bag.timeline_cache.TimelineCache.cache_item (   self,
  topic,
  t,
  item 
)

Definition at line 88 of file timeline_cache.py.

def rqt_bag.timeline_cache.TimelineCache.enqueue (   self,
  entry 
)

Definition at line 85 of file timeline_cache.py.

def rqt_bag.timeline_cache.TimelineCache.get_item (   self,
  topic,
  stamp,
  time_threshold 
)

Definition at line 102 of file timeline_cache.py.

Definition at line 59 of file timeline_cache.py.

Definition at line 175 of file timeline_cache.py.


Member Data Documentation

Definition at line 44 of file timeline_cache.py.

Definition at line 44 of file timeline_cache.py.

Definition at line 44 of file timeline_cache.py.

Definition at line 44 of file timeline_cache.py.

Definition at line 44 of file timeline_cache.py.

Definition at line 44 of file timeline_cache.py.

Definition at line 44 of file timeline_cache.py.

Definition at line 44 of file timeline_cache.py.

Definition at line 44 of file timeline_cache.py.


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


rqt_bag
Author(s): Aaron Blasdel, Tim Field
autogenerated on Wed Sep 16 2015 06:58:10