Public Member Functions | Public Attributes | Properties | Private Member Functions | Private Attributes
rxbag.timeline.Timeline Class Reference

List of all members.

Public Member Functions

def __init__
def add_bag
def add_listener
def add_view
 Views / listeners.
def bags
 Bags.
def can_zoom
def can_zoom_in
def can_zoom_out
def copy_region_to_bag
def end_stamp
def frame
def get_datatype
def get_entries
def get_entries_with_bags
def get_entry
def get_entry_after
def get_next_message_time
def get_renderers
 Timeline renderers.
def get_viewer_types
 Plugins.
def get_zoom_interval
def has_listeners
def has_selected_region
def history_bottom
def history_height
def history_left
 Visual.
def history_right
def history_top
def is_publishing
 Publishing.
def is_renderer_active
def load_plugins
def map_dstamp_to_dx
def map_dx_to_dstamp
def map_stamp_to_x
def map_x_to_stamp
 Pixel location <-> time.
def navigate_end
def navigate_fastforward
def navigate_play
def navigate_rewind
def navigate_start
def navigate_stop
def on_close
def on_idle
def on_key_down
 Keyboard.
def on_left_down
 Mouse events.
def on_left_up
def on_middle_down
def on_middle_up
def on_mouse_move
def on_mousewheel
def on_paint
def on_right_down
def on_right_up
def on_size
def play_region
def read_message
def record_bag
 Recording.
def remove_listener
def remove_view
def reset_timeline
 View port.
def reset_zoom
def selected_left
def selected_right
def set_renderer_active
def set_renderers_active
def set_timeline_view
def start_background_task
 Copy messages to...
def start_publishing
def start_stamp
 Timeline info.
def step_fixed
def step_next_message
def stop_background_task
def stop_publishing
def toggle_play
def toggle_play_all
def toggle_recording
def toggle_renderers
def toggle_selecting
def topics
def topics_by_datatype
def translate_timeline
def zoom_in
def zoom_out
def zoom_timeline

Public Attributes

 background_task
 background_task_cancel
 Cursor
 desired_playhead
 index_cache
 index_cache_cv
 invalidated_caches
 last_frame
 Playing.
 last_playhead
 Position
 Size
 stick_to_end
 wrap

Properties

 loading_filename = property(_get_loading_filename, _set_loading_filename)
 play_all = property(_get_play_all, _set_play_all)
 play_speed = property(_get_play_speed, _set_play_speed)
 playhead = property(_get_playhead, _set_playhead)
 selecting_mode = property(_get_selecting_mode, _set_selecting_mode)

Private Member Functions

def _calc_font_sizes
def _close
def _create_player
def _draw_bag_ends
def _draw_history_border
def _draw_major_divisions
def _draw_minor_divisions
def _draw_playhead
def _draw_selected_region
def _draw_time_indicators
def _draw_topic_dividers
def _draw_topic_histories
def _draw_topic_history
def _draw_topic_names
def _export_region
def _find_regions
def _get_end_stamp
def _get_label
def _get_loading_filename
def _get_play_all
def _get_play_speed
 Playhead.
def _get_playhead
def _get_selecting_mode
def _get_stamps
def _get_start_stamp
def _get_topics
def _get_topics_by_datatype
def _layout
def _message_recorded
 Recording.
def _on_mouse_up
def _run_export_region
def _set_loading_filename
def _set_play_all
def _set_play_speed
def _set_playhead
def _set_selecting_mode
def _step_playhead
 Playing.
def _update_index_cache
def _update_title
 Rendering.

Private Attributes

 _active_message_line_width
 _bag_end_color
 _bag_lock
 _bags
 _clicked_pos
 _datatype_colors
 _default_datatype_color
 _default_msg_combine_px
 _dragged_pos
 _end_stamp
 _export_thread
 _history_background_color
 _history_background_color_alternate
 _history_bottom
 _history_bounds
 _history_left
 _history_top
 _history_width
 _index_cache_thread
 _listeners
 _loading_filename
 _major_divisions_color
 _major_divisions_dash
 _major_divisions_label_color
 _major_divisions_label_indent
 _major_spacing
 _margin_bottom
 _margin_left
 _margin_right
 _max_play_speed
 _max_zoom
 _max_zoom_speed
 _message_listener_threads
 _message_loaders
 _messages
 _messages_cvs
 _min_play_speed
 _min_zoom
 _min_zoom_speed
 _minor_divisions_color
 _minor_divisions_color_tick
 _minor_divisions_dash
 _minor_spacing
 _paused
 _play_all
 _play_speed
 _player
 _playhead
 _playhead_color
 _playhead_line_width
 _playhead_lock
 _playhead_pointer_size
 _playhead_positions
 _playhead_positions_cvs
 _recorder
 _rendered_topics
 _sec_divisions
 Rendering parameters.
 _selected_left
 _selected_region_color
 _selected_region_outline_ends_color
 _selected_region_outline_top_color
 _selected_right
 _selecting_mode
 _selection_handle_width
 _stamp_left
 _stamp_right
 _start_stamp
 _time_font_height
 _time_font_size
 _time_tick_height
 _timeline_renderers
 _topic_font_color
 _topic_font_height
 _topic_font_size
 _topic_name_sizes
 _topic_name_spacing
 _topic_vertical_padding
 _topics
 _topics_by_datatype
 _viewer_types
 _views
 _zoom_sensitivity

Detailed Description

Definition at line 69 of file timeline.py.


Constructor & Destructor Documentation

def rxbag.timeline.Timeline.__init__ (   self,
  args,
  kwargs 
)

Definition at line 70 of file timeline.py.


Member Function Documentation

def rxbag.timeline.Timeline._calc_font_sizes (   self,
  dc 
) [private]

Definition at line 1069 of file timeline.py.

def rxbag.timeline.Timeline._close (   self) [private]

Definition at line 335 of file timeline.py.

def rxbag.timeline.Timeline._create_player (   self) [private]

Definition at line 530 of file timeline.py.

def rxbag.timeline.Timeline._draw_bag_ends (   self,
  dc 
) [private]
Draw markers to indicate the extent of the bag file.

Definition at line 1450 of file timeline.py.

def rxbag.timeline.Timeline._draw_history_border (   self,
  dc 
) [private]

Definition at line 1460 of file timeline.py.

def rxbag.timeline.Timeline._draw_major_divisions (   self,
  dc,
  stamps,
  start_stamp,
  division 
) [private]

Definition at line 1212 of file timeline.py.

def rxbag.timeline.Timeline._draw_minor_divisions (   self,
  dc,
  stamps,
  start_stamp,
  division 
) [private]

Definition at line 1236 of file timeline.py.

def rxbag.timeline.Timeline._draw_playhead (   self,
  dc 
) [private]

Definition at line 1476 of file timeline.py.

def rxbag.timeline.Timeline._draw_selected_region (   self,
  dc 
) [private]

Definition at line 1147 of file timeline.py.

def rxbag.timeline.Timeline._draw_time_indicators (   self,
  dc 
) [private]
Draw vertical grid-lines showing major and minor time divisions.

Definition at line 1186 of file timeline.py.

def rxbag.timeline.Timeline._draw_topic_dividers (   self,
  dc 
) [private]

Definition at line 1127 of file timeline.py.

def rxbag.timeline.Timeline._draw_topic_histories (   self,
  dc 
) [private]

Definition at line 1291 of file timeline.py.

def rxbag.timeline.Timeline._draw_topic_history (   self,
  dc,
  topic 
) [private]
Draw boxes to show message regions on timelines.

Definition at line 1333 of file timeline.py.

def rxbag.timeline.Timeline._draw_topic_names (   self,
  dc 
) [private]
Draw topic names.

Definition at line 1437 of file timeline.py.

def rxbag.timeline.Timeline._export_region (   self,
  path,
  topics,
  start_stamp,
  end_stamp 
) [private]

Definition at line 436 of file timeline.py.

def rxbag.timeline.Timeline._find_regions (   self,
  stamps,
  max_interval 
) [private]
Group timestamps into regions connected by timestamps less than max_interval secs apart

Definition at line 1418 of file timeline.py.

def rxbag.timeline.Timeline._get_end_stamp (   self) [private]

Definition at line 598 of file timeline.py.

def rxbag.timeline.Timeline._get_label (   self,
  division,
  elapsed 
) [private]

Definition at line 1266 of file timeline.py.

Definition at line 292 of file timeline.py.

def rxbag.timeline.Timeline._get_play_all (   self) [private]

Definition at line 260 of file timeline.py.

def rxbag.timeline.Timeline._get_play_speed (   self) [private]

Playhead.

Definition at line 811 of file timeline.py.

def rxbag.timeline.Timeline._get_playhead (   self) [private]

Definition at line 955 of file timeline.py.

Definition at line 327 of file timeline.py.

def rxbag.timeline.Timeline._get_stamps (   self,
  start_stamp,
  stamp_step 
) [private]
Generate visible stamps every stamp_step

Definition at line 1253 of file timeline.py.

def rxbag.timeline.Timeline._get_start_stamp (   self) [private]

Definition at line 589 of file timeline.py.

def rxbag.timeline.Timeline._get_topics (   self) [private]

Definition at line 607 of file timeline.py.

Definition at line 615 of file timeline.py.

def rxbag.timeline.Timeline._layout (   self) [private]

Definition at line 1076 of file timeline.py.

def rxbag.timeline.Timeline._message_recorded (   self,
  topic,
  msg,
  t 
) [private]

Recording.

Definition at line 542 of file timeline.py.

def rxbag.timeline.Timeline._on_mouse_up (   self,
  event 
) [private]

Definition at line 1693 of file timeline.py.

def rxbag.timeline.Timeline._run_export_region (   self,
  export_bag,
  topics,
  start_stamp,
  end_stamp,
  bag_entries 
) [private]

Definition at line 468 of file timeline.py.

def rxbag.timeline.Timeline._set_loading_filename (   self,
  loading_filename 
) [private]

Definition at line 294 of file timeline.py.

def rxbag.timeline.Timeline._set_play_all (   self,
  play_all 
) [private]

Definition at line 262 of file timeline.py.

def rxbag.timeline.Timeline._set_play_speed (   self,
  play_speed 
) [private]

Definition at line 816 of file timeline.py.

def rxbag.timeline.Timeline._set_playhead (   self,
  playhead 
) [private]

Definition at line 957 of file timeline.py.

def rxbag.timeline.Timeline._set_selecting_mode (   self,
  selecting_mode 
) [private]

Definition at line 329 of file timeline.py.

def rxbag.timeline.Timeline._step_playhead (   self) [private]

Playing.

Definition at line 1549 of file timeline.py.

def rxbag.timeline.Timeline._update_index_cache (   self,
  topic 
) [private]
Updates the cache of message timestamps for the given topic.

@return: number of messages added to the index cache

Definition at line 1295 of file timeline.py.

def rxbag.timeline.Timeline._update_title (   self) [private]

Rendering.

Definition at line 1003 of file timeline.py.

def rxbag.timeline.Timeline.add_bag (   self,
  bag 
)

Definition at line 355 of file timeline.py.

def rxbag.timeline.Timeline.add_listener (   self,
  topic,
  listener 
)

Definition at line 724 of file timeline.py.

def rxbag.timeline.Timeline.add_view (   self,
  topic,
  view 
)

Views / listeners.

Definition at line 712 of file timeline.py.

Bags.

Definition at line 353 of file timeline.py.

def rxbag.timeline.Timeline.can_zoom (   self,
  desired_zoom 
)

Definition at line 905 of file timeline.py.

Definition at line 902 of file timeline.py.

Definition at line 903 of file timeline.py.

Definition at line 430 of file timeline.py.

Definition at line 581 of file timeline.py.

Definition at line 288 of file timeline.py.

def rxbag.timeline.Timeline.get_datatype (   self,
  topic 
)

Definition at line 623 of file timeline.py.

def rxbag.timeline.Timeline.get_entries (   self,
  topics,
  start_stamp,
  end_stamp 
)

Definition at line 633 of file timeline.py.

def rxbag.timeline.Timeline.get_entries_with_bags (   self,
  topic,
  start_stamp,
  end_stamp 
)

Definition at line 653 of file timeline.py.

def rxbag.timeline.Timeline.get_entry (   self,
  t,
  topic 
)

Definition at line 676 of file timeline.py.

def rxbag.timeline.Timeline.get_entry_after (   self,
  t 
)

Definition at line 686 of file timeline.py.

Definition at line 696 of file timeline.py.

Timeline renderers.

Definition at line 765 of file timeline.py.

def rxbag.timeline.Timeline.get_viewer_types (   self,
  datatype 
)

Plugins.

Definition at line 753 of file timeline.py.

def rxbag.timeline.Timeline.get_zoom_interval (   self,
  zoom 
)

Definition at line 932 of file timeline.py.

def rxbag.timeline.Timeline.has_listeners (   self,
  topic 
)

Definition at line 722 of file timeline.py.

Definition at line 278 of file timeline.py.

Definition at line 309 of file timeline.py.

Definition at line 312 of file timeline.py.

Visual.

Definition at line 303 of file timeline.py.

Definition at line 315 of file timeline.py.

Definition at line 306 of file timeline.py.

def rxbag.timeline.Timeline.is_publishing (   self,
  topic 
)

Publishing.

Definition at line 513 of file timeline.py.

def rxbag.timeline.Timeline.is_renderer_active (   self,
  topic 
)

Definition at line 776 of file timeline.py.

Definition at line 756 of file timeline.py.

def rxbag.timeline.Timeline.map_dstamp_to_dx (   self,
  dstamp 
)

Definition at line 1527 of file timeline.py.

def rxbag.timeline.Timeline.map_dx_to_dstamp (   self,
  dx 
)

Definition at line 1516 of file timeline.py.

def rxbag.timeline.Timeline.map_stamp_to_x (   self,
  stamp,
  clamp_to_visible = True 
)

Definition at line 1519 of file timeline.py.

def rxbag.timeline.Timeline.map_x_to_stamp (   self,
  x,
  clamp_to_visible = True 
)

Pixel location <-> time.

Definition at line 1505 of file timeline.py.

Definition at line 866 of file timeline.py.

Definition at line 855 of file timeline.py.

Definition at line 842 of file timeline.py.

Definition at line 845 of file timeline.py.

Definition at line 865 of file timeline.py.

Definition at line 843 of file timeline.py.

def rxbag.timeline.Timeline.on_close (   self,
  event 
)

Definition at line 1023 of file timeline.py.

def rxbag.timeline.Timeline.on_idle (   self,
  event 
)

Definition at line 1036 of file timeline.py.

def rxbag.timeline.Timeline.on_key_down (   self,
  event 
)

Keyboard.

Definition at line 1532 of file timeline.py.

def rxbag.timeline.Timeline.on_left_down (   self,
  event 
)

Mouse events.

Definition at line 1632 of file timeline.py.

def rxbag.timeline.Timeline.on_left_up (   self,
  event 
)

Definition at line 1689 of file timeline.py.

def rxbag.timeline.Timeline.on_middle_down (   self,
  event 
)

Definition at line 1677 of file timeline.py.

def rxbag.timeline.Timeline.on_middle_up (   self,
  event 
)

Definition at line 1690 of file timeline.py.

def rxbag.timeline.Timeline.on_mouse_move (   self,
  event 
)

Definition at line 1710 of file timeline.py.

def rxbag.timeline.Timeline.on_mousewheel (   self,
  event 
)

Definition at line 1706 of file timeline.py.

def rxbag.timeline.Timeline.on_paint (   self,
  event 
)

Definition at line 1046 of file timeline.py.

def rxbag.timeline.Timeline.on_right_down (   self,
  event 
)

Definition at line 1683 of file timeline.py.

def rxbag.timeline.Timeline.on_right_up (   self,
  event 
)

Definition at line 1691 of file timeline.py.

def rxbag.timeline.Timeline.on_size (   self,
  event 
)

Definition at line 1041 of file timeline.py.

Definition at line 281 of file timeline.py.

def rxbag.timeline.Timeline.read_message (   self,
  bag,
  position 
)

Definition at line 706 of file timeline.py.

def rxbag.timeline.Timeline.record_bag (   self,
  filename,
  all = True,
  topics = [],
  regex = False,
  limit = 0 
)

Recording.

Definition at line 390 of file timeline.py.

def rxbag.timeline.Timeline.remove_listener (   self,
  topic,
  listener 
)

Definition at line 736 of file timeline.py.

def rxbag.timeline.Timeline.remove_view (   self,
  topic,
  view 
)

Definition at line 716 of file timeline.py.

View port.

Definition at line 870 of file timeline.py.

Definition at line 889 of file timeline.py.

Definition at line 320 of file timeline.py.

Definition at line 323 of file timeline.py.

def rxbag.timeline.Timeline.set_renderer_active (   self,
  topic,
  active 
)

Definition at line 794 of file timeline.py.

def rxbag.timeline.Timeline.set_renderers_active (   self,
  active 
)

Definition at line 784 of file timeline.py.

def rxbag.timeline.Timeline.set_timeline_view (   self,
  stamp_left,
  stamp_right 
)

Definition at line 879 of file timeline.py.

def rxbag.timeline.Timeline.start_background_task (   self,
  background_task 
)

Copy messages to...

Definition at line 417 of file timeline.py.

def rxbag.timeline.Timeline.start_publishing (   self,
  topic 
)

Definition at line 516 of file timeline.py.

Timeline info.

Definition at line 578 of file timeline.py.

Definition at line 1561 of file timeline.py.

Definition at line 1604 of file timeline.py.

Definition at line 427 of file timeline.py.

def rxbag.timeline.Timeline.stop_publishing (   self,
  topic 
)

Definition at line 523 of file timeline.py.

Definition at line 836 of file timeline.py.

Definition at line 274 of file timeline.py.

Definition at line 409 of file timeline.py.

Definition at line 779 of file timeline.py.

Transitions selection mode from NONE -> LEFT_MARKED -> MARKED -> NONE

Definition at line 1803 of file timeline.py.

Definition at line 584 of file timeline.py.

Definition at line 587 of file timeline.py.

def rxbag.timeline.Timeline.translate_timeline (   self,
  dstamp 
)

Definition at line 886 of file timeline.py.

Definition at line 899 of file timeline.py.

Definition at line 900 of file timeline.py.

def rxbag.timeline.Timeline.zoom_timeline (   self,
  zoom 
)

Definition at line 920 of file timeline.py.


Member Data Documentation

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 436 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 72 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Rendering parameters.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 1693 of file timeline.py.

Definition at line 72 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Definition at line 71 of file timeline.py.

Playing.

Definition at line 72 of file timeline.py.

Definition at line 72 of file timeline.py.

Definition at line 1041 of file timeline.py.

Definition at line 1041 of file timeline.py.

Definition at line 72 of file timeline.py.

Definition at line 72 of file timeline.py.


Property Documentation

Definition at line 298 of file timeline.py.

Definition at line 272 of file timeline.py.

Definition at line 834 of file timeline.py.

Definition at line 999 of file timeline.py.

Definition at line 331 of file timeline.py.


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


rxbag
Author(s): Tim Field
autogenerated on Mon Oct 6 2014 07:26:07