|
libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
|
A single command entry with its text and completion callback. More...
#include <console.hpp>
Public Attributes | |
| std::string | text |
| Raw command string. | |
| std::function< void(const std::string &, std::ostream &)> | callback |
| Handler invoked on the worker thread. | |
A single command entry with its text and completion callback.
Definition at line 75 of file console.hpp.
| std::function<void(const std::string&, std::ostream&)> console::CommandQueue::Command::callback |
Handler invoked on the worker thread.
Definition at line 77 of file console.hpp.
Referenced by console::Console::worker_thread_func().
| std::string console::CommandQueue::Command::text |
Raw command string.
Definition at line 76 of file console.hpp.
Referenced by console::Console::worker_thread_func().