WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
Application Class Reference

#include <Application.h>

Collaboration diagram for Application:
[legend]

Public Member Functions

 Application ()=default
 
int run ()
 
 ~Application ()
 
 Application (const Application &)=delete
 
Applicationoperator= (const Application &)=delete
 
 Application (Application &&)=delete
 
Applicationoperator= (Application &&)=delete
 

Private Member Functions

bool init ()
 
void mainLoop ()
 
void shutdown ()
 
void initEngine ()
 
void initGL ()
 
void tickScene ()
 
void handleViewportInput ()
 
void drawTitleBarAndMenus ()
 
void drawDockspace ()
 
void drawPanels ()
 
void drawDialogs ()
 

Private Attributes

AppWindow m_window
 
ImGuiLayer m_imguiLayer
 
InputManager m_inputManager
 
AppState m_state
 
bool m_showDemoWindow = false
 
bool m_showSettings = false
 
bool m_firstFrame = true
 

Detailed Description

Definition at line 16 of file Application.h.

Constructor & Destructor Documentation

◆ Application() [1/3]

Application::Application ( )
default

◆ ~Application()

Application::~Application ( )
default

◆ Application() [2/3]

Application::Application ( const Application )
delete

◆ Application() [3/3]

Application::Application ( Application &&  )
delete

Member Function Documentation

◆ drawDialogs()

void Application::drawDialogs ( )
private

Definition at line 849 of file Application.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawDockspace()

void Application::drawDockspace ( )
private

Definition at line 593 of file Application.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawPanels()

void Application::drawPanels ( )
private

Definition at line 651 of file Application.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawTitleBarAndMenus()

void Application::drawTitleBarAndMenus ( )
private

Definition at line 475 of file Application.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleViewportInput()

void Application::handleViewportInput ( )
private

Definition at line 462 of file Application.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

bool Application::init ( )
private

Definition at line 300 of file Application.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initEngine()

void Application::initEngine ( )
private

Definition at line 392 of file Application.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initGL()

void Application::initGL ( )
private

Definition at line 426 of file Application.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mainLoop()

void Application::mainLoop ( )
private

Definition at line 331 of file Application.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

Application & Application::operator= ( Application &&  )
delete

◆ operator=() [2/2]

Application & Application::operator= ( const Application )
delete

◆ run()

int Application::run ( )

Initialise all subsystems and enter the main loop.

Returns
Process exit code (0 on success).

Definition at line 286 of file Application.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shutdown()

void Application::shutdown ( )
private

Definition at line 366 of file Application.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tickScene()

void Application::tickScene ( )
private

Definition at line 438 of file Application.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ m_firstFrame

bool Application::m_firstFrame = true
private

Definition at line 42 of file Application.h.

◆ m_imguiLayer

ImGuiLayer Application::m_imguiLayer
private

Definition at line 35 of file Application.h.

◆ m_inputManager

InputManager Application::m_inputManager
private

Definition at line 36 of file Application.h.

◆ m_showDemoWindow

bool Application::m_showDemoWindow = false
private

Definition at line 40 of file Application.h.

◆ m_showSettings

bool Application::m_showSettings = false
private

Definition at line 41 of file Application.h.

◆ m_state

AppState Application::m_state
private

Definition at line 37 of file Application.h.

◆ m_window

AppWindow Application::m_window
private

Definition at line 34 of file Application.h.


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