Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
rtabmap::ConsoleWidget Class Reference

#include <ConsoleWidget.h>

Inheritance diagram for rtabmap::ConsoleWidget:
Inheritance graph
[legend]

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 ()
 
- Public Member Functions inherited from UEventsHandler
void registerToEventsManager ()
 
void unregisterFromEventsManager ()
 
- Public Member Functions inherited from UEventsSender
 UEventsSender ()
 
virtual ~UEventsSender ()
 

Protected Member Functions

virtual bool handleEvent (UEvent *anEvent)
 
- Protected Member Functions inherited from UEventsHandler
 UEventsHandler ()
 
virtual ~UEventsHandler ()
 
- Protected Member Functions inherited from UEventsSender
void post (UEvent *event, bool async=true) const
 

Private Slots

void flushConsole ()
 
void updateTextEditBufferSize ()
 

Private Attributes

QMessageBox * _errorMessage
 
QMutex _errorMessageMutex
 
QList< QPair< QString, int > > _msgList
 
QMutex _msgListMutex
 
QTextCursor * _textCursor
 
QTime _time
 
QTimer _timer
 
Ui_consoleWidget * _ui
 

Detailed Description

Definition at line 45 of file ConsoleWidget.h.

Constructor & Destructor Documentation

rtabmap::ConsoleWidget::ConsoleWidget ( QWidget *  parent = 0)

Definition at line 38 of file ConsoleWidget.cpp.

rtabmap::ConsoleWidget::~ConsoleWidget ( )
virtual

Definition at line 60 of file ConsoleWidget.cpp.

Member Function Documentation

void rtabmap::ConsoleWidget::appendMsg ( const QString &  msg,
int  level = 1 
)
slot

Definition at line 106 of file ConsoleWidget.cpp.

void rtabmap::ConsoleWidget::flushConsole ( )
privateslot

Definition at line 139 of file ConsoleWidget.cpp.

bool rtabmap::ConsoleWidget::handleEvent ( UEvent event)
protectedvirtual

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.

Returns
"true" to notify UEventsManager that this handler took ownership of the event (meaning it must delete it). The event will not be dispatched to next handlers.
"false" to let event be dispatched to next handlers (default behavior). UEventsManager will take care of deleting the event.

Implements UEventsHandler.

Definition at line 65 of file ConsoleWidget.cpp.

void rtabmap::ConsoleWidget::msgReceived ( const QString &  ,
int   
)
signal
void rtabmap::ConsoleWidget::updateTextEditBufferSize ( )
privateslot

Definition at line 155 of file ConsoleWidget.cpp.

Member Data Documentation

QMessageBox* rtabmap::ConsoleWidget::_errorMessage
private

Definition at line 68 of file ConsoleWidget.h.

QMutex rtabmap::ConsoleWidget::_errorMessageMutex
private

Definition at line 69 of file ConsoleWidget.h.

QList<QPair<QString, int> > rtabmap::ConsoleWidget::_msgList
private

Definition at line 74 of file ConsoleWidget.h.

QMutex rtabmap::ConsoleWidget::_msgListMutex
private

Definition at line 70 of file ConsoleWidget.h.

QTextCursor* rtabmap::ConsoleWidget::_textCursor
private

Definition at line 73 of file ConsoleWidget.h.

QTime rtabmap::ConsoleWidget::_time
private

Definition at line 72 of file ConsoleWidget.h.

QTimer rtabmap::ConsoleWidget::_timer
private

Definition at line 71 of file ConsoleWidget.h.

Ui_consoleWidget* rtabmap::ConsoleWidget::_ui
private

Definition at line 67 of file ConsoleWidget.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:42