EHS
Input.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ehs/Array.h
"
4
#include "
ehs/Serializer.h
"
5
#include "
InputHandler.h
"
6
7
namespace
ehs
8
{
9
class
EHS_LIB_IO
Input
10
{
11
private
:
12
Array<InputHandler*>
handlers;
13
bool
initalized;
14
15
public
:
16
~Input
();
17
18
Input
();
19
20
Input
(
Input
&& input)
noexcept
;
21
22
Input
(
const
Input
& input);
23
24
Input
& operator=(
Input
&& input)
noexcept
;
25
26
Input
& operator=(
const
Input
& input);
27
28
void
Initialize
();
29
30
void
Release();
31
32
void
Poll();
33
34
bool
HasHandler(
const
UInt_64 hashId)
const
;
35
36
bool
HasHandler(
const
Str_8
&
id
)
const
;
37
38
bool
AddHandler(
InputHandler
* handler);
39
40
const
InputHandler
* GetHandler(
const
UInt_64 hashId)
const
;
41
42
const
InputHandler
* GetHandler(
const
Str_8
&
id
)
const
;
43
44
bool
IsInitialized()
const
;
45
};
46
}
Array.h
InputHandler.h
Serializer.h
ehs::Array
Definition:
Array.h:16
ehs::InputHandler
Definition:
InputHandler.h:9
ehs::Input
Definition:
Input.h:10
ehs::Str< Char_8, UInt_64 >
ehs
Definition:
Anchor.h:6
ehs::Initialize
EHS_LIB_IO void Initialize(Str_8 appName, Str_8 appVerId, const Version &appVer)
Definition:
EHS.cpp:34
include
ehs
io
hid
Input.h
Generated by
1.9.4