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, Touch > | TouchMap |
Public Member Functions |
| int32_t | numTouches () const |
| TouchMap::const_iterator | begin () const |
| TouchMap::const_iterator | end () const |
| const Touch * | find (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
Member Enumeration Documentation
- Enumerator:
| kBegan |
|
| kMoved |
|
| kEnded |
|
| kNoChange |
|
| kCanceled |
|
| kUndefined |
|
Constructor & Destructor Documentation
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
The documentation for this class was generated from the following file: