Nebula
Loading...
Searching...
No Matches
imguiconsolehandler.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
11//------------------------------------------------------------------------------
12#include "core/refcounted.h"
14#include "io/consolehandler.h"
15#include "util/string.h"
16
17namespace Dynui
18{
20{
22public:
26 virtual ~ImguiConsoleHandler();
27
29 void Setup();
31 void Discard();
33 virtual void Open();
35 virtual void Close();
37 virtual void Print(const Util::String& s);
39 virtual void Error(const Util::String& s);
41 virtual void Warning(const Util::String& s);
43 virtual void DebugOut(const Util::String& s);
44
45};
46} // namespace Dynui
consolehandler that prints its output to the imgui console
Definition imguiconsolehandler.h:20
virtual ~ImguiConsoleHandler()
destructor
Definition imguiconsolehandler.cc:24
__DeclareClass(ImguiConsoleHandler)
virtual void Open()
called by console when attached
Definition imguiconsolehandler.cc:52
void Setup()
attach to main console
Definition imguiconsolehandler.cc:33
virtual void Close()
called by console when removed
Definition imguiconsolehandler.cc:62
virtual void DebugOut(const Util::String &s)
called by console to output debug string
Definition imguiconsolehandler.cc:98
ImguiConsoleHandler()
constructor
Definition imguiconsolehandler.cc:16
virtual void Warning(const Util::String &s)
called by console to output warning
Definition imguiconsolehandler.cc:89
void Discard()
remove from main console
Definition imguiconsolehandler.cc:43
virtual void Print(const Util::String &s)
called by console to output data
Definition imguiconsolehandler.cc:71
virtual void Error(const Util::String &s)
called by console with serious error
Definition imguiconsolehandler.cc:80
Base class for all console handlers.
Definition consolehandler.h:22
Imgui Profiler UI.
Definition imguiconsole.cc:277
Nebula's universal string class.
Definition string.h:50