#include <MainConsole.h>
Definition at line 62 of file MainConsole.h.
◆ MainConsole()
◆ ~MainConsole()
mars::log_console::MainConsole::~MainConsole |
( |
void |
| ) |
|
|
virtual |
◆ add()
◆ addError()
void mars::log_console::MainConsole::addError |
( |
const std::string & |
my_error, |
|
|
|
... |
|
) |
| |
|
virtual |
◆ addMessage()
void mars::log_console::MainConsole::addMessage |
( |
const std::string & |
my_message, |
|
|
|
... |
|
) |
| |
|
virtual |
◆ addWarning()
void mars::log_console::MainConsole::addWarning |
( |
const std::string & |
my_warning, |
|
|
|
... |
|
) |
| |
|
virtual |
◆ cfgUpdateProperty()
◆ CREATE_MODULE_INFO()
mars::log_console::MainConsole::CREATE_MODULE_INFO |
( |
| ) |
|
◆ getLibName()
const std::string mars::log_console::MainConsole::getLibName |
( |
| ) |
const |
|
virtual |
◆ getLibVersion()
int mars::log_console::MainConsole::getLibVersion |
( |
| ) |
const |
|
virtual |
◆ menuAction()
void mars::log_console::MainConsole::menuAction |
( |
int |
action, |
|
|
bool |
checked = false |
|
) |
| |
|
virtual |
Called whenever a menu item is selected.
- Parameters
-
action | The action that is passed to the GuiInterface via addGenericMenuAction function. |
checked | Indicates if the menu/menu item is checked or not. |
Implements mars::main_gui::MenuInterface.
Definition at line 110 of file MainConsole.cpp.
◆ onMessageTypeChanged
void mars::log_console::MainConsole::onMessageTypeChanged |
( |
int |
buttonId, |
|
|
bool |
state |
|
) |
| |
|
protectedslot |
◆ receiveData()
The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur.
- Parameters
-
info | Information about the DataPackage. |
dataPackage | The DataPackage containing all the data. |
callbackParam | The int the receiver passed during registration. The default (the receiver didn't provide a callbackParam) is 0. This can be used to easily distinguish different registrations. |
Implements mars::data_broker::ReceiverInterface.
Definition at line 269 of file MainConsole.cpp.
◆ setupCFG()
void mars::log_console::MainConsole::setupCFG |
( |
void |
| ) |
|
|
private |
◆ setupGUI()
void mars::log_console::MainConsole::setupGUI |
( |
| ) |
|
◆ timerEvent
void mars::log_console::MainConsole::timerEvent |
( |
QTimerEvent * |
event | ) |
|
|
protectedslot |
◆ cfg
◆ consoleLock
QMutex mars::log_console::MainConsole::consoleLock |
|
private |
◆ consoleWidget
ConsoleGUI* mars::log_console::MainConsole::consoleWidget |
|
private |
◆ dataBroker
◆ gui
◆ ignore_next_resize
int mars::log_console::MainConsole::ignore_next_resize |
|
private |
◆ maxMessages
◆ messages
std::vector<con_data> mars::log_console::MainConsole::messages |
|
private |
◆ set_window_prop
bool mars::log_console::MainConsole::set_window_prop |
|
private |
◆ showOnStdError
The documentation for this class was generated from the following files:
- /Developer/bob-learning-dev/simulation/mars/common/gui/log_console/src/MainConsole.h
- /Developer/bob-learning-dev/simulation/mars/common/gui/log_console/src/MainConsole.cpp