Public Member Functions | |
def | __init__ (self) |
def | test_message (self, message) |
Public Member Functions inherited from rqt_console.filters.base_filter.BaseFilter | |
def | is_enabled (self) |
def | set_enabled (self, checked) |
def | start_emit_timer (self, msec=None) |
Additional Inherited Members | |
Static Public Attributes inherited from rqt_console.filters.base_filter.BaseFilter | |
filter_changed_signal = Signal() | |
Contains filter logic for a location filter.
Definition at line 36 of file location_filter.py.
def rqt_console.filters.location_filter.LocationFilter.__init__ | ( | self | ) |
Reimplemented from rqt_console.filters.message_filter.MessageFilter.
Definition at line 42 of file location_filter.py.
def rqt_console.filters.location_filter.LocationFilter.test_message | ( | self, | |
message | |||
) |
Tests if the message matches the filter. If the regex flag is False simple 'is this in that' text matching is used on _text. If the regex flag is True _text is treated as a regular expression with one exception. If it does not start with a ^ a .* is appended, and if it does not end with a $ then a .* is added to the end. :param message: the message to be tested against the filters, ''Message'' :returns: True if the message matches, ''bool''
Reimplemented from rqt_console.filters.message_filter.MessageFilter.
Definition at line 45 of file location_filter.py.