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 |
Definition at line 39 of file message_data_model.py.
Definition at line 40 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel.columnCount | ( | self, | |
parent = None |
|||
) |
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.
def rqt_console.message_data_model.MessageDataModel.get_data | ( | self, | |
row, | |||
col | |||
) |
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.
def rqt_console.message_data_model.MessageDataModel.get_selected_text | ( | self, | |
rowlist | |||
) |
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.
def rqt_console.message_data_model.MessageDataModel.get_time_range | ( | self, | |
rowlist | |||
) |
: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.
def rqt_console.message_data_model.MessageDataModel.insert_rows | ( | self, | |
msgs | |||
) |
Wraps the insert_row function to minimize gui notification calls
Definition at line 118 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel.load_from_file | ( | self, | |
filehandle | |||
) |
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.
def rqt_console.message_data_model.MessageDataModel.remove_rows | ( | self, | |
rowlist | |||
) |
: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.
def rqt_console.message_data_model.MessageDataModel.rowCount | ( | self, | |
parent = None |
|||
) |
Definition at line 54 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel.timedata_to_timestring | ( | self, | |
timedata | |||
) |
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.
def rqt_console.message_data_model.MessageDataModel.timestring_to_timedata | ( | self, | |
timestring | |||
) |
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.
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.