Banuba SDK
Loading...
Searching...
No Matches
bnb::interfaces::input_manager Class Referenceabstract

Class to accepts touches from user. More...

#include <input_manager.hpp>

Public Member Functions

virtual void on_touches_began (const std::unordered_map< int64_t, ::bnb::interfaces::touch > &tocuhes)=0
 
virtual void on_touches_moved (const std::unordered_map< int64_t, ::bnb::interfaces::touch > &tocuhes)=0
 
virtual void on_touches_ended (const std::unordered_map< int64_t, ::bnb::interfaces::touch > &tocuhes)=0
 
virtual void on_touches_cancelled (const std::unordered_map< int64_t, ::bnb::interfaces::touch > &tocuhes)=0
 
virtual void on_rotation_gesture (float angle)=0
 
virtual void on_scale_gesture (float scale)=0
 
virtual void on_swipe_gesture (float dir_x, float dir_y)=0
 
virtual void on_double_tap_gesture (const ::bnb::interfaces::touch &pos)=0
 
virtual void on_long_tap_gesture (const ::bnb::interfaces::touch &pos)=0
 
virtual void on_gesture_ended (const std::string &id)=0
 

Detailed Description

Class to accepts touches from user.

Key in each map is id of an event.

Definition at line 23 of file input_manager.hpp.

Constructor & Destructor Documentation

◆ ~input_manager()

virtual bnb::interfaces::input_manager::~input_manager ( )
inlinevirtual

Definition at line 25 of file input_manager.hpp.

25{}

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