Public Member Functions | |
def | __init__ |
def | columnCount |
def | data |
def | get_message_between |
def | get_message_limit |
def | get_selected_text |
def | get_severity_dict |
def | get_time_range |
def | get_unique_nodes |
def | get_unique_severities |
def | get_unique_topics |
def | headerData |
def | insert_rows |
def | remove_rows |
def | rowCount |
def | set_message_limit |
Static Public Attributes | |
list | columns = ['message', 'severity', 'node', 'stamp', 'topics', 'location'] |
dictionary | severity_colors |
Private Member Functions | |
def | _enforce_message_limit |
Private Attributes | |
_error_icon | |
_info_icon | |
_message_limit | |
_messages | |
_warning_icon |
Definition at line 40 of file message_data_model.py.
Definition at line 53 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel._enforce_message_limit | ( | self, | |
limit | |||
) | [private] |
Definition at line 153 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel.columnCount | ( | self, | |
parent = None |
|||
) |
Definition at line 66 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel.data | ( | self, | |
index, | |||
role = None |
|||
) |
Definition at line 69 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel.get_message_between | ( | self, | |
start_time, | |||
end_time = None |
|||
) |
:param start_time: time to start in timestamp form (including decimal fractions of a second is acceptable, ''unixtimestamp'' :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 259 of file message_data_model.py.
Definition at line 146 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 207 of file message_data_model.py.
Definition at line 256 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 221 of file message_data_model.py.
Definition at line 237 of file message_data_model.py.
Definition at line 243 of file message_data_model.py.
Definition at line 249 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel.headerData | ( | self, | |
section, | |||
orientation, | |||
role = None |
|||
) |
Definition at line 127 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel.insert_rows | ( | self, | |
msgs | |||
) |
Definition at line 159 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''
Definition at line 171 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel.rowCount | ( | self, | |
parent = None |
|||
) |
Definition at line 63 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel.set_message_limit | ( | self, | |
new_limit | |||
) |
Definition at line 149 of file message_data_model.py.
Definition at line 53 of file message_data_model.py.
Definition at line 53 of file message_data_model.py.
Definition at line 53 of file message_data_model.py.
Definition at line 53 of file message_data_model.py.
Definition at line 53 of file message_data_model.py.
list rqt_console::message_data_model.MessageDataModel::columns = ['message', 'severity', 'node', 'stamp', 'topics', 'location'] [static] |
Definition at line 43 of file message_data_model.py.
dictionary rqt_console::message_data_model.MessageDataModel::severity_colors [static] |
{ Message.DEBUG: QBrush(Qt.darkCyan), Message.INFO: QBrush(Qt.darkBlue), Message.WARN: QBrush(Qt.darkYellow), Message.ERROR: QBrush(Qt.darkRed), Message.FATAL: QBrush(Qt.red), }
Definition at line 45 of file message_data_model.py.