rqt_console.filters.custom_filter module
- class rqt_console.filters.custom_filter.CustomFilter(*args: Any, **kwargs: Any)
Bases:
BaseFilter
Contains filter logic for the custom filter.
This allows message, severity, and node filtering simultaneously. All filters must match together (if they are used) or the custom filter does not match.
- has_filter()
- set_enabled(checked)
Set the filter enabled.
- Signal:
emits filter_changed_signal
- Parameters:
checked – enables the filters if checked is True’’bool’’
- test_message(message)
Test if the message matches the filter.
- Parameters:
message – the message to be tested against the filters, ‘’Message’’
- Returns:
True if the message matches all child filters, ‘’bool’’