All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | List of all members
star::InputManager Class Reference

#include <InputManager.h>

Collaboration diagram for star::InputManager:
Collaboration graph

Public Member Functions

virtual ~InputManager (void)
void UpdateGestures (const Context &context)
bool IsFingerPressedCP (uint8 finger=0) const
bool IsFingerDownCP (uint8 finger=0) const
bool IsFingerReleasedCP (uint8 finger=0) const
vec2 GetCurrentFingerPosCP (uint8 finger=0) const
vec2 GetOldFingerPosCP (uint8 finger=0) const
void EndUpdate ()
void SetGestureManager (std::shared_ptr< GestureManager > gestureManager)
std::shared_ptr< GestureManagerGetGestureManager () const
bool IsTouchPressedANDR (uint8 fingerIndex=0) const
bool IsTouchDownANDR (uint8 fingerIndex=0) const
bool IsTouchReleasedANDR (uint8 fingerIndex=0) const
vec2 GetCurrentTouchPosANDR (uint8 fingerIndex=0) const
vec2 GetOldTouchPosANDR (uint8 fingerIndex=0) const
FingerPointerANDR GetTouchPropertiesANDR (uint8 fingerIndex=0) const
void OnTouchEvent (AInputEvent *pEvent)
bool OnKeyboardEvent (AInputEvent *pEvent)

Static Public Member Functions

static InputManagerGetInstance ()

Constructor & Destructor Documentation

star::InputManager::~InputManager ( void  )

Member Function Documentation

void star::InputManager::EndUpdate ( )
vec2 star::InputManager::GetCurrentFingerPosCP ( uint8  finger = 0) const
vec2 star::InputManager::GetCurrentTouchPosANDR ( uint8  fingerIndex = 0) const
std::shared_ptr< GestureManager > star::InputManager::GetGestureManager ( ) const
InputManager * star::InputManager::GetInstance ( )
vec2 star::InputManager::GetOldFingerPosCP ( uint8  finger = 0) const
vec2 star::InputManager::GetOldTouchPosANDR ( uint8  fingerIndex = 0) const
FingerPointerANDR star::InputManager::GetTouchPropertiesANDR ( uint8  fingerIndex = 0) const
bool star::InputManager::IsFingerDownCP ( uint8  finger = 0) const
bool star::InputManager::IsFingerPressedCP ( uint8  finger = 0) const
bool star::InputManager::IsFingerReleasedCP ( uint8  finger = 0) const
bool star::InputManager::IsTouchDownANDR ( uint8  fingerIndex = 0) const
bool star::InputManager::IsTouchPressedANDR ( uint8  fingerIndex = 0) const
bool star::InputManager::IsTouchReleasedANDR ( uint8  fingerIndex = 0) const
bool star::InputManager::OnKeyboardEvent ( AInputEvent *  pEvent)
void star::InputManager::OnTouchEvent ( AInputEvent *  pEvent)
void star::InputManager::SetGestureManager ( std::shared_ptr< GestureManager gestureManager)
void star::InputManager::UpdateGestures ( const Context context)

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