LampyEngine
 
Загрузка...
Поиск...
Не найдено
Класс GUIOutputLog

A GUI component for displaying log messages in an ImGui window. This class subscribes to the Logger module and updates the UI with log messages. Подробнее...

#include <OutputLog.h>

Граф наследования:GUIOutputLog:
GUIObject

Открытые члены

 GUIOutputLog ()
 Constructs a GUI log output panel and subscribes to the Logger event.
 
 ~GUIOutputLog ()
 Destroys the log output panel and unsubscribes from the Logger event.
 
void render () override
 Renders the log messages inside an ImGui window.
 
void receiveLogMessage (const std::string &message)
 Receives a log message from the Logger and stores it for display.
 
void clear ()
 Clears all log messages from the display.
 
- Открытые члены унаследованные от GUIObject
 GUIObject ()
 Constructs a GUI object and assigns it a unique ID.
 
 GUIObject (const GUIObject &T)=delete
 Deleted copy constructor to prevent copying of GUI objects.
 
GUIObjectoperator= (const GUIObject &T)=delete
 Deleted assignment operator to prevent copying.
 
virtual ~GUIObject ()
 Destroys the GUI object and removes it from the ImGui system.
 
uint32_t getID () const
 Retrieves the unique ID of the GUI object.
 

Подробное описание

A GUI component for displaying log messages in an ImGui window. This class subscribes to the Logger module and updates the UI with log messages.

Методы

◆ receiveLogMessage()

void GUIOutputLog::receiveLogMessage ( const std::string & message)

Receives a log message from the Logger and stores it for display.

Аргументы
messageThe log message to add.

◆ render()

void GUIOutputLog::render ( )
overridevirtual

Renders the log messages inside an ImGui window.

Переопределяет метод предка GUIObject.


Объявления и описания членов классов находятся в файлах: