|
def | __init__ (self) |
|
def | columnCount (self, parent=None) |
|
def | data (self, index, role=None) |
|
def | get_message_between (self, start_time, end_time=None) |
|
def | get_message_limit (self) |
|
def | get_selected_text (self, rowlist) |
|
def | get_severity_dict (self) |
|
def | get_time_range (self, rowlist) |
|
def | get_unique_nodes (self) |
|
def | get_unique_severities (self) |
|
def | get_unique_topics (self) |
|
def | headerData (self, section, orientation, role=None) |
|
def | insert_rows (self, msgs) |
|
def | remove_rows (self, rowlist) |
|
def | rowCount (self, parent=None) |
|
def | set_message_limit (self, new_limit) |
|
Definition at line 40 of file message_data_model.py.
def rqt_console.message_data_model.MessageDataModel.__init__ |
( |
|
self | ) |
|
def rqt_console.message_data_model.MessageDataModel._enforce_message_limit |
( |
|
self, |
|
|
|
limit |
|
) |
| |
|
private |
def rqt_console.message_data_model.MessageDataModel.columnCount |
( |
|
self, |
|
|
|
parent = None |
|
) |
| |
def rqt_console.message_data_model.MessageDataModel.data |
( |
|
self, |
|
|
|
index, |
|
|
|
role = None |
|
) |
| |
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.
def rqt_console.message_data_model.MessageDataModel.get_message_limit |
( |
|
self | ) |
|
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.
def rqt_console.message_data_model.MessageDataModel.get_severity_dict |
( |
|
self | ) |
|
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.
def rqt_console.message_data_model.MessageDataModel.get_unique_nodes |
( |
|
self | ) |
|
def rqt_console.message_data_model.MessageDataModel.get_unique_severities |
( |
|
self | ) |
|
def rqt_console.message_data_model.MessageDataModel.get_unique_topics |
( |
|
self | ) |
|
def rqt_console.message_data_model.MessageDataModel.headerData |
( |
|
self, |
|
|
|
section, |
|
|
|
orientation, |
|
|
|
role = None |
|
) |
| |
def rqt_console.message_data_model.MessageDataModel.insert_rows |
( |
|
self, |
|
|
|
msgs |
|
) |
| |
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 |
|
) |
| |
def rqt_console.message_data_model.MessageDataModel.set_message_limit |
( |
|
self, |
|
|
|
new_limit |
|
) |
| |
rqt_console.message_data_model.MessageDataModel._error_icon |
|
private |
rqt_console.message_data_model.MessageDataModel._info_icon |
|
private |
rqt_console.message_data_model.MessageDataModel._message_limit |
|
private |
rqt_console.message_data_model.MessageDataModel._messages |
|
private |
rqt_console.message_data_model.MessageDataModel._warning_icon |
|
private |
list rqt_console.message_data_model.MessageDataModel.columns = ['message', 'severity', 'node', 'stamp', 'topics', 'location'] |
|
static |
dictionary rqt_console.message_data_model.MessageDataModel.severity_colors |
|
static |
Initial value: 2 Message.DEBUG: QBrush(Qt.darkCyan),
3 Message.INFO: QBrush(Qt.darkBlue),
4 Message.WARN: QBrush(Qt.darkYellow),
5 Message.ERROR: QBrush(Qt.darkRed),
6 Message.FATAL: QBrush(Qt.red),
Definition at line 45 of file message_data_model.py.
The documentation for this class was generated from the following file: