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

◆ ConsoleWidget()

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

Definition at line 38 of file ConsoleWidget.cpp.

◆ ~ConsoleWidget()

rtabmap::ConsoleWidget::~ConsoleWidget ( )
virtual

Definition at line 60 of file ConsoleWidget.cpp.

Member Function Documentation

◆ appendMsg

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

Definition at line 107 of file ConsoleWidget.cpp.

◆ flushConsole

void rtabmap::ConsoleWidget::flushConsole ( )
privateslot

Definition at line 140 of file ConsoleWidget.cpp.

◆ handleEvent()

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 66 of file ConsoleWidget.cpp.

◆ msgReceived

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

◆ updateTextEditBufferSize

void rtabmap::ConsoleWidget::updateTextEditBufferSize ( )
privateslot

Definition at line 156 of file ConsoleWidget.cpp.

Member Data Documentation

◆ _errorMessage

QMessageBox* rtabmap::ConsoleWidget::_errorMessage
private

Definition at line 68 of file ConsoleWidget.h.

◆ _errorMessageMutex

QMutex rtabmap::ConsoleWidget::_errorMessageMutex
private

Definition at line 69 of file ConsoleWidget.h.

◆ _msgList

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

Definition at line 74 of file ConsoleWidget.h.

◆ _msgListMutex

QMutex rtabmap::ConsoleWidget::_msgListMutex
private

Definition at line 70 of file ConsoleWidget.h.

◆ _textCursor

QTextCursor* rtabmap::ConsoleWidget::_textCursor
private

Definition at line 73 of file ConsoleWidget.h.

◆ _time

QTime rtabmap::ConsoleWidget::_time
private

Definition at line 72 of file ConsoleWidget.h.

◆ _timer

QTimer rtabmap::ConsoleWidget::_timer
private

Definition at line 71 of file ConsoleWidget.h.

◆ _ui

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 Mon Jan 23 2023 03:39:00