|
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.
◆ __init__()
def rqt_console.message_data_model.MessageDataModel.__init__ |
( |
|
self | ) |
|
◆ _enforce_message_limit()
def rqt_console.message_data_model.MessageDataModel._enforce_message_limit |
( |
|
self, |
|
|
|
limit |
|
) |
| |
|
private |
◆ columnCount()
def rqt_console.message_data_model.MessageDataModel.columnCount |
( |
|
self, |
|
|
|
parent = None |
|
) |
| |
◆ data()
def rqt_console.message_data_model.MessageDataModel.data |
( |
|
self, |
|
|
|
index, |
|
|
|
role = None |
|
) |
| |
◆ get_message_between()
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.
◆ get_message_limit()
def rqt_console.message_data_model.MessageDataModel.get_message_limit |
( |
|
self | ) |
|
◆ get_selected_text()
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.
◆ get_severity_dict()
def rqt_console.message_data_model.MessageDataModel.get_severity_dict |
( |
|
self | ) |
|
◆ get_time_range()
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.
◆ get_unique_nodes()
def rqt_console.message_data_model.MessageDataModel.get_unique_nodes |
( |
|
self | ) |
|
◆ get_unique_severities()
def rqt_console.message_data_model.MessageDataModel.get_unique_severities |
( |
|
self | ) |
|
◆ get_unique_topics()
def rqt_console.message_data_model.MessageDataModel.get_unique_topics |
( |
|
self | ) |
|
◆ headerData()
def rqt_console.message_data_model.MessageDataModel.headerData |
( |
|
self, |
|
|
|
section, |
|
|
|
orientation, |
|
|
|
role = None |
|
) |
| |
◆ insert_rows()
def rqt_console.message_data_model.MessageDataModel.insert_rows |
( |
|
self, |
|
|
|
msgs |
|
) |
| |
◆ remove_rows()
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.
◆ rowCount()
def rqt_console.message_data_model.MessageDataModel.rowCount |
( |
|
self, |
|
|
|
parent = None |
|
) |
| |
◆ set_message_limit()
def rqt_console.message_data_model.MessageDataModel.set_message_limit |
( |
|
self, |
|
|
|
new_limit |
|
) |
| |
◆ _error_icon
rqt_console.message_data_model.MessageDataModel._error_icon |
|
private |
◆ _info_icon
rqt_console.message_data_model.MessageDataModel._info_icon |
|
private |
◆ _message_limit
rqt_console.message_data_model.MessageDataModel._message_limit |
|
private |
◆ _messages
rqt_console.message_data_model.MessageDataModel._messages |
|
private |
◆ _warning_icon
rqt_console.message_data_model.MessageDataModel._warning_icon |
|
private |
◆ columns
list rqt_console.message_data_model.MessageDataModel.columns = ['message', 'severity', 'node', 'stamp', 'topics', 'location'] |
|
static |
◆ severity_colors
dictionary rqt_console.message_data_model.MessageDataModel.severity_colors |
|
static |
Initial value:= {
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.
The documentation for this class was generated from the following file: