#include <inputcomponent.h>
| Public Member Functions | |
| TouchInputComponentInstance (EntityInstance &entity, Component &resource) | |
|  Public Member Functions inherited from InputComponentInstance | |
| InputComponentInstance (EntityInstance &entity, Component &resource) | |
|  Public Member Functions inherited from ComponentInstance | |
| ComponentInstance (EntityInstance &entity, Component &resource) | |
| virtual void | update (double deltaTime) | 
| nap::EntityInstance * | getEntityInstance () const | 
| nap::Component * | getComponent () const | 
| template<typename T > | |
| T * | getComponent () const | 
| virtual bool | init (utility::ErrorState &errorState) | 
| virtual bool | init (utility::ErrorState &errorState) | 
|  Public Member Functions inherited from Object | |
| Object () | |
| virtual | ~Object () | 
| virtual void | onDestroy () | 
| Object (Object &)=delete | |
| Object & | operator= (const Object &)=delete | 
| Object (Object &&)=delete | |
| Object & | operator= (Object &&)=delete | 
| Public Attributes | |
| Signal< const TouchPressEvent & > | pressed | 
| Signal emitted when the component receives a finger press.  More... | |
| Signal< const TouchReleaseEvent & > | released | 
| Signal emitted when the finger is released.  More... | |
| Signal< const TouchMoveEvent & > | moved | 
| Signal emitted when the finger moves.  More... | |
|  Public Attributes inherited from Object | |
| std::string | mID | 
| Property: 'mID' unique name of the object. Used as an identifier by the system.  More... | |
| Protected Member Functions | |
| virtual void | trigger (const nap::InputEvent &inEvent) override | 
| Additional Inherited Members | |
|  Static Public Member Functions inherited from Object | |
| static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) | 
Touch event input component. Listen to the various signals to receive touch events.
| TouchInputComponentInstance | ( | EntityInstance & | entity, | 
| Component & | resource | ||
| ) | 
| 
 | overrideprotectedvirtual | 
This function is called by an InputRouter derived class if it decides to route the input to this component. Implement this function in a derived class to handle input.
| inEvent | An InputEvent-derived class. Use RTTI queries to test the type of event and to retrieve data from it. | 
Implements InputComponentInstance.
| Signal<const TouchMoveEvent&> moved | 
Signal emitted when the finger moves.
| Signal<const TouchPressEvent&> pressed | 
Signal emitted when the component receives a finger press.
| Signal<const TouchReleaseEvent&> released | 
Signal emitted when the finger is released.