GlistEngine
Loading...
Searching...
No Matches
gGUIAppThread.h
Go to the documentation of this file.
1
/*
2
* gGUIAppThread.h
3
*
4
* Created on: 9 Aug 2024
5
* Author: noyan
6
*/
7
8
#ifndef CORE_GGUIAPPTHREAD_H_
9
#define CORE_GGUIAPPTHREAD_H_
10
11
#include "
gThread.h
"
12
#include "
gBaseApp.h
"
13
14
15
class
gGUIAppThread
:
public
gThread
{
16
public
:
17
gGUIAppThread
(
gBaseApp
* root);
18
virtual
~gGUIAppThread
();
19
20
void
threadFunction
();
21
22
void
setTargetFramerate
(
int
framerate);
23
int
getTargetFramerate
();
24
25
private
:
26
gBaseApp
* root;
27
int
targetframerate;
28
std::chrono::duration<double, std::milli> sleepdurationmillis;
29
};
30
31
#endif
/* CORE_GGUIAPPTHREAD_H_ */
gBaseApp
Definition
gBaseApp.h:16
gGUIAppThread
Definition
gGUIAppThread.h:15
gGUIAppThread::threadFunction
void threadFunction()
gGUIAppThread::getTargetFramerate
int getTargetFramerate()
gGUIAppThread::gGUIAppThread
gGUIAppThread(gBaseApp *root)
gGUIAppThread::setTargetFramerate
void setTargetFramerate(int framerate)
gGUIAppThread::~gGUIAppThread
virtual ~gGUIAppThread()
gThread
Definition
gThread.h:28
gBaseApp.h
gThread.h
engine
core
gGUIAppThread.h
Generated by
1.9.8