GlistEngine
Loading...
Searching...
No Matches
gGUIAppThread Class Reference

#include <gGUIAppThread.h>

Inheritance diagram for gGUIAppThread:
Collaboration diagram for gGUIAppThread:

Public Member Functions

 gGUIAppThread (gBaseApp *root)
virtual ~gGUIAppThread ()
void threadFunction ()
void setTargetFramerate (int framerate)
int getTargetFramerate ()
Public Member Functions inherited from gThread
 gThread ()
virtual ~gThread ()
std::thread::id getId () const
bool isRunning ()
bool isCurrent ()
bool isDone ()
std::thread & getThread ()
void start ()
void stop ()
bool lock ()
bool tryLock ()
void unlock ()
void wait ()
void sleep (std::chrono::duration< double, std::milli > milliseconds)
void sleep (double milliseconds)
void yield ()
void detach ()
Public Member Functions inherited from gObject
 gObject ()
void logi (std::string message)
void logd (std::string message)
void logw (std::string message)
void loge (std::string message)
void logi (std::string tag, std::string message)
void logd (std::string tag, std::string message)
void logw (std::string tag, std::string message)
void loge (std::string tag, std::string message)

Additional Inherited Members

Static Public Member Functions inherited from gObject
static std::string gGetAppDir ()
static std::string gGetAssetsDir ()
static void gSetAssetsDir (std::string assetsDir)
static std::string gGetFilesDir ()
static std::string gGetImagesDir ()
static std::string gGetFontsDir ()
static std::string gGetModelsDir ()
static std::string gGetTexturesDir ()
static std::string gGetShadersDir ()
static std::string gGetSoundsDir ()
static std::string gGetDatabasesDir ()
static std::string gGetVideosDir ()
static void setCurrentResolution (int scalingNo, int currentResolutionNo)
Static Public Attributes inherited from gObject
static const int LOGLEVEL_SILENT
static const int LOGLEVEL_DEBUG
static const int LOGLEVEL_INFO
static const int LOGLEVEL_WARNING
static const int LOGLEVEL_ERROR
Protected Attributes inherited from gThread
std::condition_variable conditionvariable
std::mutex mutex
bool isdone
bool isrunning
Static Protected Attributes inherited from gObject
static int renderpassnum
static int renderpassno
static int releasescaling
static int releaseresolution

Constructor & Destructor Documentation

◆ gGUIAppThread()

gGUIAppThread::gGUIAppThread ( gBaseApp * root)

◆ ~gGUIAppThread()

virtual gGUIAppThread::~gGUIAppThread ( )
virtual

Member Function Documentation

◆ getTargetFramerate()

int gGUIAppThread::getTargetFramerate ( )

◆ setTargetFramerate()

void gGUIAppThread::setTargetFramerate ( int framerate)

◆ threadFunction()

void gGUIAppThread::threadFunction ( )
virtual

Reimplemented from gThread.


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