#include <ConsoleWidget.h>
Public Slots | |
void | appendMsg (const QString &msg, int level=1) |
Signals | |
void | msgReceived (const QString &, int) |
Public Member Functions | |
ConsoleWidget (QWidget *parent=0) | |
virtual | ~ConsoleWidget () |
Protected Member Functions | |
virtual void | handleEvent (UEvent *anEvent) |
Private Slots | |
void | flushConsole () |
Private Attributes | |
QMessageBox * | _errorMessage |
QMutex | _errorMessageMutex |
QList< QPair< QString, int > > | _msgList |
QMutex | _msgListMutex |
QTextCursor * | _textCursor |
QTime | _time |
QTimer | _timer |
Ui_consoleWidget * | _ui |
Definition at line 43 of file ConsoleWidget.h.
rtabmap::ConsoleWidget::ConsoleWidget | ( | QWidget * | parent = 0 | ) |
Definition at line 41 of file ConsoleWidget.cpp.
rtabmap::ConsoleWidget::~ConsoleWidget | ( | ) | [virtual] |
Definition at line 62 of file ConsoleWidget.cpp.
void rtabmap::ConsoleWidget::appendMsg | ( | const QString & | msg, |
int | level = 1 |
||
) | [slot] |
Definition at line 107 of file ConsoleWidget.cpp.
void rtabmap::ConsoleWidget::flushConsole | ( | ) | [private, slot] |
Definition at line 140 of file ConsoleWidget.cpp.
void rtabmap::ConsoleWidget::handleEvent | ( | UEvent * | event | ) | [protected, virtual] |
Method called by the UEventsManager to handle an event. Important : this method must do a minimum of work because the faster the dispatching loop is done; the faster the events are received. If a handling function takes too much time, the events list can grow faster than it is emptied. The event can be modified but must not be deleted.
Implements UEventsHandler.
Definition at line 67 of file ConsoleWidget.cpp.
void rtabmap::ConsoleWidget::msgReceived | ( | const QString & | , |
int | |||
) | [signal] |
QMessageBox* rtabmap::ConsoleWidget::_errorMessage [private] |
Definition at line 65 of file ConsoleWidget.h.
QMutex rtabmap::ConsoleWidget::_errorMessageMutex [private] |
Definition at line 66 of file ConsoleWidget.h.
QList<QPair<QString, int> > rtabmap::ConsoleWidget::_msgList [private] |
Definition at line 71 of file ConsoleWidget.h.
QMutex rtabmap::ConsoleWidget::_msgListMutex [private] |
Definition at line 67 of file ConsoleWidget.h.
QTextCursor* rtabmap::ConsoleWidget::_textCursor [private] |
Definition at line 70 of file ConsoleWidget.h.
QTime rtabmap::ConsoleWidget::_time [private] |
Definition at line 69 of file ConsoleWidget.h.
QTimer rtabmap::ConsoleWidget::_timer [private] |
Definition at line 68 of file ConsoleWidget.h.
Ui_consoleWidget* rtabmap::ConsoleWidget::_ui [private] |
Definition at line 64 of file ConsoleWidget.h.