Public Member Functions | Private Attributes
rqt_console.message_data_model.MessageDataModel Class Reference
Inheritance diagram for rqt_console.message_data_model.MessageDataModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def columnCount
def data
def get_data
def get_message_list
def get_selected_text
def get_severity_list
def get_time_range
def get_unique_col_data
def headerData
def insert_row
def insert_rows
def load_from_file
def message_members
def remove_rows
def rowCount
def timedata_to_timestring
def timestring_to_timedata

Private Attributes

 _error_icon
 _info_icon
 _insert_message_queue
 _message_limit
 _messages
 _paused
 _time_format
 _warning_icon

Detailed Description

Definition at line 39 of file message_data_model.py.


Constructor & Destructor Documentation

Definition at line 40 of file message_data_model.py.


Member Function Documentation

Definition at line 57 of file message_data_model.py.

def rqt_console.message_data_model.MessageDataModel.data (   self,
  index,
  role = None 
)

Definition at line 60 of file message_data_model.py.

Definition at line 226 of file message_data_model.py.

def rqt_console.message_data_model.MessageDataModel.get_message_list (   self,
  start_time = None,
  end_time = None 
)
:param start_time: time to start in timestamp form (including decimal
fractions of a second is acceptable, ''unixtimestamp'' (Optional)
:param end_time: time to end in timestamp form (including decimal
fractions of a second is acceptable, ''unixtimestamp'' (Optional)
:returns: list of messages in the time range ''list[message]''

Definition at line 266 of file message_data_model.py.

Returns an easily readable block of text for the currently selected rows
:param rowlist: list of row indexes, ''list(int)''
:returns: the text from those indexes, ''str''

Definition at line 179 of file message_data_model.py.

Definition at line 223 of file message_data_model.py.

:param rowlist: a list of row indexes, ''list''
:returns: a tuple of min and max times in a rowlist in '(unix timestamp).(fraction of second)' format, ''tuple(str,str)''

Definition at line 193 of file message_data_model.py.

def rqt_console.message_data_model.MessageDataModel.get_unique_col_data (   self,
  index,
  separate_topics = True 
)
:param index: column index, ''int''
:param separate_topics: if true separates comma delimited strings into
unique rows, ''bool''
:returns: list of unique strings in the column, ''list[str]''

Definition at line 208 of file message_data_model.py.

def rqt_console.message_data_model.MessageDataModel.headerData (   self,
  section,
  orientation,
  role = None 
)

Definition at line 83 of file message_data_model.py.

def rqt_console.message_data_model.MessageDataModel.insert_row (   self,
  msg,
  notify_model = True 
)

Definition at line 134 of file message_data_model.py.

Wraps the insert_row function to minimize gui notification calls

Definition at line 118 of file message_data_model.py.

Saves to an already open filehandle.
:returns: True if loaded successfully, ''bool''
OR
:returns: False if load fails, ''bool''

Definition at line 232 of file message_data_model.py.

Definition at line 229 of file message_data_model.py.

:param rowlist: list of row indexes, ''list(int)''
:returns: True if the indexes were removed successfully, ''bool''
OR
:returns: False if there was an exception removing the rows, ''bool''

Definition at line 141 of file message_data_model.py.

Definition at line 54 of file message_data_model.py.

Converts a string in the format of '(unix timestamp).(fraction of second)'
into a string of format _time_format
:param timedata:  seconds and fractions thereof ''str''
:returns: formatted time string''str''

Definition at line 105 of file message_data_model.py.

Converts a time string in the format of _time_format into a string
of format '(unix timestamp).(fraction of second)'
:param timestring: formatted time string ''str''
:returns: seconds and fractions thereof ''str''

Definition at line 95 of file message_data_model.py.


Member Data Documentation

Definition at line 40 of file message_data_model.py.

Definition at line 40 of file message_data_model.py.

Definition at line 40 of file message_data_model.py.

Definition at line 40 of file message_data_model.py.

Definition at line 40 of file message_data_model.py.

Definition at line 40 of file message_data_model.py.

Definition at line 40 of file message_data_model.py.

Definition at line 40 of file message_data_model.py.


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


rqt_console
Author(s): Aaron Blasdel
autogenerated on Fri Jan 3 2014 11:54:30