Otclient  14/8/2020
ConsoleApplication Class Reference

#include <consoleapplication.h>

Inheritance diagram for ConsoleApplication:
Collaboration diagram for ConsoleApplication:

Public Member Functions

void run ()
 
int getFps ()
 
- Public Member Functions inherited from Application
 Application ()
 
virtual ~Application ()
 
virtual void init (std::vector< std::string > &args)
 
virtual void deinit ()
 
virtual void terminate ()
 
virtual void poll ()
 
virtual void exit ()
 
virtual void close ()
 
void setName (const std::string &name)
 
void setCompactName (const std::string &compactName)
 
void setVersion (const std::string &version)
 
bool isRunning ()
 
bool isStopping ()
 
bool isTerminated ()
 
const std::string & getName ()
 
const std::string & getCompactName ()
 
const std::string & getVersion ()
 
std::string getCharset ()
 
std::string getBuildCompiler ()
 
std::string getBuildDate ()
 
std::string getBuildRevision ()
 
std::string getBuildCommit ()
 
std::string getBuildType ()
 
std::string getBuildArch ()
 
std::string getOs ()
 
std::string getStartupOptions ()
 

Protected Attributes

AdaptativeFrameCounter m_frameCounter
 
- Protected Attributes inherited from Application
std::string m_charset
 
std::string m_appName
 
std::string m_appCompactName
 
std::string m_appVersion
 
std::string m_startupOptions
 
stdext::boolean< false > m_running
 
stdext::boolean< false > m_stopping
 
stdext::boolean< false > m_terminated
 

Additional Inherited Members

- Protected Member Functions inherited from Application
void registerLuaFunctions ()
 

Detailed Description

Definition at line 29 of file consoleapplication.h.

Member Function Documentation

◆ getFps()

int ConsoleApplication::getFps ( )
inline

Definition at line 34 of file consoleapplication.h.

Here is the call graph for this function:

◆ run()

void ConsoleApplication::run ( )
virtual

Implements Application.

Definition at line 34 of file consoleapplication.cpp.

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

Member Data Documentation

◆ m_frameCounter

AdaptativeFrameCounter ConsoleApplication::m_frameCounter
protected

Definition at line 37 of file consoleapplication.h.


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