OIS
1.5
Object-oriented Input System
|
#include <OISMultiTouch.h>
Public Member Functions | |
virtual | ~MultiTouch () |
virtual void | setEventCallback (MultiTouchListener *touchListener) |
MultiTouchListener * | getEventCallback () |
void | clearStates (void) |
std::vector< MultiTouchState > | getMultiTouchStates () const |
const std::vector< MultiTouchState > | getFirstNTouchStates (int n) |
const std::vector< MultiTouchState > | getMultiTouchStatesOfType (MultiTypeEventTypeID type) |
Public Member Functions inherited from OIS::Object | |
virtual | ~Object () |
Type | type () const |
const std::string & | vendor () const |
virtual bool | buffered () const |
InputManager * | getCreator () const |
virtual void | setBuffered (bool buffered)=0 |
virtual void | capture ()=0 |
virtual int | getID () const |
virtual Interface * | queryInterface (Interface::IType type)=0 |
virtual void | _initialize ()=0 |
Protected Member Functions | |
MultiTouch (const std::string &vendor, bool buffered, int devID, InputManager *creator) | |
Protected Member Functions inherited from OIS::Object | |
Object (const std::string &vendor, Type iType, bool buffered, int devID, InputManager *creator) | |
Protected Attributes | |
std::vector< MultiTouchState > | mStates |
The state of the touch device, implemented in a vector to store the state from each finger touch. More... | |
MultiTouchListener * | mListener |
Used for buffered/actionmapping callback. More... | |
Protected Attributes inherited from OIS::Object | |
std::string | mVendor |
Vendor name if applicable/known. More... | |
Type | mType |
Type of controller object. More... | |
bool | mBuffered |
Buffered flag. More... | |
int | mDevID |
Not fully implemented yet. More... | |
InputManager * | mCreator |
The creator who created this object. More... | |
MultiTouch base class. To be implemented by specific system (ie. iPhone UITouch) This class is useful as you remain OS independent using this common interface.
|
inlinevirtual |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
touchListener | Send a pointer to a class derived from MultiTouchListener or 0 to clear the callback |
|
protected |
Used for buffered/actionmapping callback.
|
protected |
The state of the touch device, implemented in a vector to store the state from each finger touch.