EHS
Loading...
Searching...
No Matches
ehs::InputHandler Class Reference

#include <InputHandler.h>

Public Member Functions

virtual ~InputHandler ()
 
 InputHandler ()
 
 InputHandler (Str_8 id)
 
 InputHandler (InputHandler &&ih) noexcept
 
 InputHandler (const InputHandler &ih)
 
InputHandleroperator= (InputHandler &&ih) noexcept
 
InputHandleroperator= (const InputHandler &ih)
 
bool operator== (const UInt_64 otherHashId) const
 
bool operator!= (const UInt_64 otherHashId) const
 
virtual bool Initialize ()
 
virtual bool Release ()
 
virtual void Poll ()
 
UInt_64 GetHashId () const
 
Str_8 GetId () const
 
void ResetAllStates ()
 
bool HasDevice (const UInt_64 id) const
 
bool AddDevice (HID *device)
 
HIDGetDevice (const UInt_64 id) const
 
HIDGetDeviceByType (const UInt_8 type) const
 
virtual bool IsInitialized () const
 

Protected Attributes

Array< HID * > devices
 

Constructor & Destructor Documentation

◆ ~InputHandler()

ehs::InputHandler::~InputHandler ( )
virtual

◆ InputHandler() [1/4]

ehs::InputHandler::InputHandler ( )

◆ InputHandler() [2/4]

ehs::InputHandler::InputHandler ( Str_8 id)

◆ InputHandler() [3/4]

ehs::InputHandler::InputHandler ( InputHandler && ih)
noexcept

◆ InputHandler() [4/4]

ehs::InputHandler::InputHandler ( const InputHandler & ih)

Member Function Documentation

◆ AddDevice()

bool ehs::InputHandler::AddDevice ( HID * device)

◆ GetDevice()

HID * ehs::InputHandler::GetDevice ( const UInt_64 id) const

◆ GetDeviceByType()

HID * ehs::InputHandler::GetDeviceByType ( const UInt_8 type) const

◆ GetHashId()

UInt_64 ehs::InputHandler::GetHashId ( ) const

◆ GetId()

Str_8 ehs::InputHandler::GetId ( ) const

◆ HasDevice()

bool ehs::InputHandler::HasDevice ( const UInt_64 id) const

◆ Initialize()

bool ehs::InputHandler::Initialize ( )
virtual

◆ IsInitialized()

bool ehs::InputHandler::IsInitialized ( ) const
virtual

◆ operator!=()

bool ehs::InputHandler::operator!= ( const UInt_64 otherHashId) const

◆ operator=() [1/2]

InputHandler & ehs::InputHandler::operator= ( const InputHandler & ih)

◆ operator=() [2/2]

InputHandler & ehs::InputHandler::operator= ( InputHandler && ih)
noexcept

◆ operator==()

bool ehs::InputHandler::operator== ( const UInt_64 otherHashId) const

◆ Poll()

void ehs::InputHandler::Poll ( )
virtual

◆ Release()

bool ehs::InputHandler::Release ( )
virtual

◆ ResetAllStates()

void ehs::InputHandler::ResetAllStates ( )

Member Data Documentation

◆ devices

Array<HID*> ehs::InputHandler::devices
protected

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