SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::Console Class Reference

Console Entity Class. More...

#include <Console.h>

Inheritance diagram for Spices::Console:

Public Member Functions

 Console (const std::string &filePath, uint32_t maxInfos=50)
 Constructor Function.
 
virtual ~Console () override=default
 Destructor Function.
 
const InfoDataGetInfos () const
 Get Console Infos.
 
void Clear ()
 Clear Console Infos.
 
void Push (const std::string &cmd)
 Push a Command to Console.
 
const std::string & GetFilePath ()
 Get Console output file.
 

Static Public Member Functions

static std::shared_ptr< ConsoleRegistry (const std::string &name, const std::string &filePath="")
 Registry a console to ConsolePool.
 

Protected Member Functions

void sink_it_ (const spdlog::details::log_msg &msg) override
 Inherited from spdlog, run when a message pushed.
 
virtual void flush_ () override
 Inherited from spdlog, run when spdlog flush.
 

Protected Attributes

std::string m_FilePath
 Console File Path.
 
uint32_t m_MaxInfos
 Maximum Num of Information's.
 
InfoData m_InfoData
 Console Information.
 

Detailed Description

Console Entity Class.

Definition at line 81 of file Console.h.


The documentation for this class was generated from the following files: