Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
cqsp::client::systems::SysDebugMenu Class Reference

#include <sysdebuggui.h>

Inheritance diagram for cqsp::client::systems::SysDebugMenu:
cqsp::client::systems::SysUserInterface

Public Member Functions

 SysDebugMenu (cqsp::engine::Application &app)
 
void Init ()
 
void DoUI (int delta_time)
 
void DoUpdate (int delta_time)
 
- Public Member Functions inherited from cqsp::client::systems::SysUserInterface
 SysUserInterface (cqsp::engine::Application &_app)
 
virtual ~SysUserInterface ()=default
 
cqsp::engine::ApplicationGetApp ()
 
cqsp::common::UniverseGetUniverse ()
 
scripting::ScriptInterfaceGetScriptInterface ()
 
cqsp::asset::AssetManagerGetAssetManager ()
 

Private Types

typedef std::vector< std::string > CommandOutput
 
typedef std::function< void(sysdebuggui_parameters)> DebugCommand_t
 

Private Member Functions

void CqspMetricsWindow ()
 
void ShowWindows ()
 
void CreateMenuBar ()
 
void DrawConsole ()
 
void ConsoleInput ()
 
void DrawAssetWindow ()
 

Private Attributes

bool to_show_window = false
 
bool to_show_metrics_window = false
 
bool to_show_imgui_about = false
 
bool to_show_implot_metrics = false
 
bool reclaim_focus = false
 
bool scroll_to_bottom = true
 
bool to_show_cqsp_metrics = false
 
bool to_show_asset_window = false
 
std::string command
 
std::string asset_search
 
std::vector< std::string > items
 
std::map< std::string, std::pair< std::string, DebugCommand_t >, std::less<> > commands
 
std::vector< ImVec2 > fps_history
 
float fps_history_len = 10
 
std::map< std::string, std::vector< ImVec2 > > history_maps
 

Additional Inherited Members

- Public Attributes inherited from cqsp::client::systems::SysUserInterface
ImGuiWindowFlags window_flags = 0
 

Member Typedef Documentation

◆ CommandOutput

typedef std::vector<std::string> cqsp::client::systems::SysDebugMenu::CommandOutput
private

◆ DebugCommand_t

Constructor & Destructor Documentation

◆ SysDebugMenu()

SysDebugMenu::SysDebugMenu ( cqsp::engine::Application app)
explicit

Member Function Documentation

◆ ConsoleInput()

void cqsp::client::systems::SysDebugMenu::ConsoleInput ( )
private

◆ CqspMetricsWindow()

void SysDebugMenu::CqspMetricsWindow ( )
private

◆ CreateMenuBar()

void cqsp::client::systems::SysDebugMenu::CreateMenuBar ( )
private

◆ DoUI()

void SysDebugMenu::DoUI ( int  delta_time)
virtual

◆ DoUpdate()

void SysDebugMenu::DoUpdate ( int  delta_time)
virtual

◆ DrawAssetWindow()

void SysDebugMenu::DrawAssetWindow ( )
private

◆ DrawConsole()

void cqsp::client::systems::SysDebugMenu::DrawConsole ( )
private

◆ Init()

void SysDebugMenu::Init ( )
virtual

◆ ShowWindows()

void cqsp::client::systems::SysDebugMenu::ShowWindows ( )
private

Member Data Documentation

◆ asset_search

std::string cqsp::client::systems::SysDebugMenu::asset_search
private

◆ command

std::string cqsp::client::systems::SysDebugMenu::command
private

◆ commands

std::map<std::string, std::pair<std::string, DebugCommand_t>, std::less<> > cqsp::client::systems::SysDebugMenu::commands
private

◆ fps_history

std::vector<ImVec2> cqsp::client::systems::SysDebugMenu::fps_history
private

◆ fps_history_len

float cqsp::client::systems::SysDebugMenu::fps_history_len = 10
private

◆ history_maps

std::map<std::string, std::vector<ImVec2> > cqsp::client::systems::SysDebugMenu::history_maps
private

◆ items

std::vector<std::string> cqsp::client::systems::SysDebugMenu::items
private

◆ reclaim_focus

bool cqsp::client::systems::SysDebugMenu::reclaim_focus = false
private

◆ scroll_to_bottom

bool cqsp::client::systems::SysDebugMenu::scroll_to_bottom = true
private

◆ to_show_asset_window

bool cqsp::client::systems::SysDebugMenu::to_show_asset_window = false
private

◆ to_show_cqsp_metrics

bool cqsp::client::systems::SysDebugMenu::to_show_cqsp_metrics = false
private

◆ to_show_imgui_about

bool cqsp::client::systems::SysDebugMenu::to_show_imgui_about = false
private

◆ to_show_implot_metrics

bool cqsp::client::systems::SysDebugMenu::to_show_implot_metrics = false
private

◆ to_show_metrics_window

bool cqsp::client::systems::SysDebugMenu::to_show_metrics_window = false
private

◆ to_show_window

bool cqsp::client::systems::SysDebugMenu::to_show_window = false
private

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