Nebula
Loading...
Searching...
No Matches
glfwinputserver.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
11
#include "
core/singleton.h
"
12
#include "
input/base/inputserverbase.h
"
13
14
//------------------------------------------------------------------------------
15
namespace
GLFW
16
{
17
class
GLFWInputServer
:
public
Base::InputServerBase
18
{
19
__DeclareClass
(
GLFWInputServer
);
20
__DeclareSingleton
(
GLFWInputServer
);
21
public
:
23
GLFWInputServer
();
25
virtual
~GLFWInputServer
();
26
28
void
Open
();
30
void
Close
();
32
void
OnFrame
();
33
};
34
35
36
}
// namespace GLFW
37
//------------------------------------------------------------------------------
Base::InputServerBase
The InputServer is the central object of the Input subsystem.
Definition
inputserverbase.h:32
GLFW::GLFWInputServer
Definition
glfwinputserver.h:18
GLFW::GLFWInputServer::GLFWInputServer
GLFWInputServer()
constructor
Definition
glfwinputserver.cc:21
GLFW::GLFWInputServer::Open
void Open()
open the input server
Definition
glfwinputserver.cc:42
GLFW::GLFWInputServer::OnFrame
void OnFrame()
call after processing window events
Definition
glfwinputserver.cc:79
GLFW::GLFWInputServer::__DeclareSingleton
__DeclareSingleton(GLFWInputServer)
GLFW::GLFWInputServer::__DeclareClass
__DeclareClass(GLFWInputServer)
GLFW::GLFWInputServer::Close
void Close()
close the input server
Definition
glfwinputserver.cc:67
GLFW::GLFWInputServer::~GLFWInputServer
virtual ~GLFWInputServer()
destructor
Definition
glfwinputserver.cc:29
inputserverbase.h
GLFW
Definition
glfwinputserver.cc:12
singleton.h
code
input
input
glfw
glfwinputserver.h
Generated on Thu Nov 14 2024 22:10:55 for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.