39 Waits for a new playhead position on the given topic, then loads the message at that position and notifies the view threads. 41 One thread per topic. Maintains a cache of recently loaded messages. 45 threading.Thread.__init__(self)
73 bag, playhead_position = self.
timeline._playhead_positions[self.
topic]
82 if playhead_position
is None:
91 messages_cv.notify_all()
94 key =
'%s%s' % (bag.filename, str(position))
98 msg_data = self.
timeline.read_message(bag, position)
def __init__(self, timeline, topic)
def _get_message(self, bag, position)