RenderTools::TouchPoint Class Reference

#include <TouchPoint.h>

List of all members.

Public Member Functions

 TouchPoint (const Vec2 &now=Vec2(), const Vec2 &before=Vec2(), unsigned int taps=0, float timestamp=0.0f, float holding=0.0f)
const Vec2getPointNow (void) const
const Vec2getPointBefore (void) const
unsigned int getTaps (void) const
float getTimeStamp (void) const
float getHolding (void) const
void setPointNow (const Vec2 &)
void setPointBefore (const Vec2 &)
void setTaps (unsigned int)
void setTimeStamp (float)
void setHolding (float)

Protected Attributes

Vec2 m_now
Vec2 m_before
unsigned int m_taps
float m_interval
float m_timestamp
float m_holding


Detailed Description

Definition at line 12 of file TouchPoint.h.


Constructor & Destructor Documentation

RenderTools::TouchPoint::TouchPoint ( const Vec2 now = Vec2(),
const Vec2 before = Vec2(),
unsigned int  taps = 0,
float  timestamp = 0.0f,
float  holding = 0.0f 
) [inline]

Definition at line 14 of file TouchPoint.h.


Member Function Documentation

float RenderTools::TouchPoint::getHolding ( void   )  const

Definition at line 21 of file TouchPoint.cpp.

const Vec2 & RenderTools::TouchPoint::getPointBefore ( void   )  const

Definition at line 9 of file TouchPoint.cpp.

const Vec2 & RenderTools::TouchPoint::getPointNow ( void   )  const

Definition at line 5 of file TouchPoint.cpp.

unsigned int RenderTools::TouchPoint::getTaps ( void   )  const

Definition at line 13 of file TouchPoint.cpp.

float RenderTools::TouchPoint::getTimeStamp ( void   )  const

Definition at line 17 of file TouchPoint.cpp.

void RenderTools::TouchPoint::setHolding ( float  t  ) 

Definition at line 41 of file TouchPoint.cpp.

void RenderTools::TouchPoint::setPointBefore ( const Vec2 v  ) 

Definition at line 29 of file TouchPoint.cpp.

void RenderTools::TouchPoint::setPointNow ( const Vec2 v  ) 

Definition at line 25 of file TouchPoint.cpp.

void RenderTools::TouchPoint::setTaps ( unsigned int  t  ) 

Definition at line 33 of file TouchPoint.cpp.

void RenderTools::TouchPoint::setTimeStamp ( float  t  ) 

Definition at line 37 of file TouchPoint.cpp.


Member Data Documentation

Definition at line 37 of file TouchPoint.h.

Definition at line 41 of file TouchPoint.h.

Definition at line 39 of file TouchPoint.h.

Definition at line 36 of file TouchPoint.h.

unsigned int RenderTools::TouchPoint::m_taps [protected]

Definition at line 38 of file TouchPoint.h.

Definition at line 40 of file TouchPoint.h.


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

Generated on Wed Jan 26 00:15:37 2011 for RenderTools by  doxygen 1.5.8