Package node_manager_fkie :: Module log_widget :: Class LogWidget
[frames] | no frames]

Class LogWidget

source code

python_qt_binding.QtWidgets.QDockWidget --+
                                          |
                                         LogWidget

The collect the the warning log messages from rosout and print it in a text browser.

Instance Methods
 
__init__(self, parent=None)
Creates the window, connects the signals and init the class.
source code
 
count(self)
Returns the count all current viewed log messages.
source code
 
clear(self)
Removes all log messages and emit the `cleared_signal`.
source code
 
stop(self)
Unregister the listener thread from the `/rosout` topic.
source code
Class Variables
  added_signal = Signal(int, int, int, int)
added_signal will be emitted on adding a new log entry.
  cleared_signal = Signal()
Method Details

stop(self)

source code 

Unregister the listener thread from the `/rosout` topic. This method must be called at the exit!


Class Variable Details

added_signal

added_signal will be emitted on adding a new log entry. The parameter contains the current count of messages (INFO, WARN, ERROR, FATAL)

Value:
Signal(int, int, int, int)