rqt_console.filters.filter_collection module

class rqt_console.filters.filter_collection.FilterCollection

Bases: object

Collection of filters to test messages against.

append(new_filter)

Append a filter to the list of filters.

Parameters:

new_filter – The new filter to append, ‘’BaseFilter’’

count_enabled_filters()
test_message(message, default=False)

Test if the message matches any filter.

Parameters:
  • message – message to be tested against the filters, ‘’Message’’

  • default – return value when there is no active filter, ‘’bool’’

Returns:

True if the message matches any filter, ‘’bool’’