EHS
Loading...
Searching...
No Matches
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::IsInitialized
bool IsInitialized() const
Definition
Input.cpp:156
ehs::Input::HasHandler
bool HasHandler(const UInt_64 hashId) const
Definition
Input.cpp:108
ehs::Input::Initialize
void Initialize()
Definition
Input.cpp:54
ehs::Input::Poll
void Poll()
Definition
Input.cpp:102
ehs::Input::GetHandler
const InputHandler * GetHandler(const UInt_64 hashId) const
Definition
Input.cpp:142
ehs::Input::operator=
Input & operator=(Input &&input) noexcept
Definition
Input.cpp:27
ehs::Input::AddHandler
bool AddHandler(InputHandler *handler)
Definition
Input.cpp:122
ehs::Input::Input
Input()
Definition
Input.cpp:11
ehs::Input::Release
void Release()
Definition
Input.cpp:78
ehs
Definition
Anchor.h:6
ehs::Str_8
Str< Char_8, UInt_64 > Str_8
Definition
Str.h:1953
include
ehs
io
hid
Input.h
Generated by
1.13.2