rqt_console.filters.severity_filter module

class rqt_console.filters.severity_filter.SeverityFilter(*args: Any, **kwargs: Any)

Bases: BaseFilter

Contains filter logic for a severity filter.

If the message’s severity text matches any of the text in the stored list then it is considered a match.

has_filter()
set_selected_items(items)

Set the selected items.

Parameters:

list – list of items to store for filtering ‘’list of QListWidgetItem’’

Emits filter_changed_signal:

If _enabled is true

test_message(message)

Test if the message matches the filter.

If the message’s severity text matches any of the text in the stored list then it is considered a match. :param message: the message to be tested against the filters, ‘’Message’’ :returns: True if the message matches, ‘’bool’’