|
def | __init__ (self, loader, listener=None, max_cache_size=100) |
|
def | cache_item (self, topic, t, item) |
|
def | enqueue (self, entry) |
|
def | get_item (self, topic, stamp, time_threshold) |
|
def | run (self) |
|
def | stop (self) |
|
Caches items for timeline renderers
Definition at line 43 of file timeline_cache.py.
def rqt_bag.timeline_cache.TimelineCache.__init__ |
( |
|
self, |
|
|
|
loader, |
|
|
|
listener = None , |
|
|
|
max_cache_size = 100 |
|
) |
| |
def rqt_bag.timeline_cache.TimelineCache._limit_cache |
( |
|
self | ) |
|
|
private |
Removes LRU's from cache until size of each topic's cache is <= max_cache_size.
Definition at line 164 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 138 of file timeline_cache.py.
def rqt_bag.timeline_cache.TimelineCache.cache_item |
( |
|
self, |
|
|
|
topic, |
|
|
|
t, |
|
|
|
item |
|
) |
| |
def rqt_bag.timeline_cache.TimelineCache.enqueue |
( |
|
self, |
|
|
|
entry |
|
) |
| |
def rqt_bag.timeline_cache.TimelineCache.get_item |
( |
|
self, |
|
|
|
topic, |
|
|
|
stamp, |
|
|
|
time_threshold |
|
) |
| |
def rqt_bag.timeline_cache.TimelineCache.run |
( |
|
self | ) |
|
def rqt_bag.timeline_cache.TimelineCache.stop |
( |
|
self | ) |
|
rqt_bag.timeline_cache.TimelineCache.item_access |
rqt_bag.timeline_cache.TimelineCache.items |
rqt_bag.timeline_cache.TimelineCache.last_accessed |
rqt_bag.timeline_cache.TimelineCache.listener |
rqt_bag.timeline_cache.TimelineCache.loader |
rqt_bag.timeline_cache.TimelineCache.lock |
rqt_bag.timeline_cache.TimelineCache.max_cache_size |
rqt_bag.timeline_cache.TimelineCache.queue |
rqt_bag.timeline_cache.TimelineCache.stop_flag |
The documentation for this class was generated from the following file: