Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
rqt_bag.message_loader_thread.MessageLoaderThread Class Reference
Inheritance diagram for rqt_bag.message_loader_thread.MessageLoaderThread:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, timeline, topic)
 
def reset (self)
 
def run (self)
 
def stop (self)
 

Public Attributes

 bag_playhead_position
 
 timeline
 
 topic
 

Private Member Functions

def _get_message (self, bag, position)
 

Private Attributes

 _message_cache
 
 _message_cache_capacity
 
 _message_cache_keys
 
 _stop_flag
 

Detailed Description

Waits for a new playhead position on the given topic, then loads the message at that position and notifies the view threads.

One thread per topic.  Maintains a cache of recently loaded messages.

Definition at line 36 of file message_loader_thread.py.

Constructor & Destructor Documentation

def rqt_bag.message_loader_thread.MessageLoaderThread.__init__ (   self,
  timeline,
  topic 
)

Definition at line 44 of file message_loader_thread.py.

Member Function Documentation

def rqt_bag.message_loader_thread.MessageLoaderThread._get_message (   self,
  bag,
  position 
)
private

Definition at line 93 of file message_loader_thread.py.

def rqt_bag.message_loader_thread.MessageLoaderThread.reset (   self)

Definition at line 61 of file message_loader_thread.py.

def rqt_bag.message_loader_thread.MessageLoaderThread.run (   self)

Definition at line 64 of file message_loader_thread.py.

def rqt_bag.message_loader_thread.MessageLoaderThread.stop (   self)

Definition at line 110 of file message_loader_thread.py.

Member Data Documentation

rqt_bag.message_loader_thread.MessageLoaderThread._message_cache
private

Definition at line 53 of file message_loader_thread.py.

rqt_bag.message_loader_thread.MessageLoaderThread._message_cache_capacity
private

Definition at line 52 of file message_loader_thread.py.

rqt_bag.message_loader_thread.MessageLoaderThread._message_cache_keys
private

Definition at line 54 of file message_loader_thread.py.

rqt_bag.message_loader_thread.MessageLoaderThread._stop_flag
private

Definition at line 56 of file message_loader_thread.py.

rqt_bag.message_loader_thread.MessageLoaderThread.bag_playhead_position

Definition at line 50 of file message_loader_thread.py.

rqt_bag.message_loader_thread.MessageLoaderThread.timeline

Definition at line 47 of file message_loader_thread.py.

rqt_bag.message_loader_thread.MessageLoaderThread.topic

Definition at line 48 of file message_loader_thread.py.


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


rqt_bag
Author(s): Aaron Blasdel, Tim Field
autogenerated on Fri Jun 7 2019 22:05:54