ITouchEvent Class Reference
[Version 4.2]

a touch event More...

List of all members.

Classes

struct  Touch

Public Types

enum  TouchState {
  kBegan, kMoved, kEnded, kNoChange,
  kCanceled, kUndefined
}
typedef std::pair< int32_t,
ITouchEvent::Touch
TouchPair
typedef std::map< int32_t, TouchTouchMap

Public Member Functions

int32_t numTouches () const
TouchMap::const_iterator begin () const
TouchMap::const_iterator end () const
const Touchfind (int32_t identifier) const
bool setTouchTarget (int32_t identifier, CView *view, bool targetIsSingleTouch)
bool unsetTouchTarget (int32_t identifier, CView *view)
virtual double getTimeStamp () const =0

Protected Member Functions

 ITouchEvent ()
virtual ~ITouchEvent ()

Protected Attributes

TouchMap touches

Detailed Description

a touch event


Member Typedef Documentation

typedef std::map<int32_t, Touch> TouchMap
typedef std::pair<int32_t, ITouchEvent::Touch> TouchPair

Member Enumeration Documentation

enum TouchState
Enumerator:
kBegan 
kMoved 
kEnded 
kNoChange 
kCanceled 
kUndefined 

Constructor & Destructor Documentation

ITouchEvent (  )  [inline, protected]
virtual ~ITouchEvent (  )  [inline, protected, virtual]

Member Function Documentation

TouchMap::const_iterator begin (  )  const [inline]
TouchMap::const_iterator end (  )  const [inline]
const Touch* find ( int32_t  identifier  )  const [inline]
virtual double getTimeStamp (  )  const [pure virtual]
int32_t numTouches (  )  const [inline]
bool setTouchTarget ( int32_t  identifier,
CView view,
bool  targetIsSingleTouch 
) [inline]
bool unsetTouchTarget ( int32_t  identifier,
CView view 
) [inline]

Member Data Documentation

TouchMap touches [protected]

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

Generated on Fri Nov 22 11:09:59 2013 for VSTGUI by  doxygen 1.6.1