openscenegraph
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
osgGA::GUIEventAdapter::TouchData Class Reference
Inheritance diagram for osgGA::GUIEventAdapter::TouchData:
osg::Referenced

Classes

struct  TouchPoint
 

Public Types

typedef std::vector< TouchPointTouchSet
 
typedef TouchSet::iterator iterator
 
typedef TouchSet::const_iterator const_iterator
 

Public Member Functions

 TouchData ()
 
unsigned int getNumTouchPoints () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
const TouchPoint get (unsigned int i) const
 
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 
 Referenced (bool threadSafeRefUnref)
 
 Referenced (const Referenced &)
 
Referencedoperator= (const Referenced &)
 
virtual void setThreadSafeRefUnref (bool threadSafe)
 
bool getThreadSafeRefUnref () const
 
OpenThreads::MutexgetRefMutex () const
 
int ref () const
 
int unref () const
 
int unref_nodelete () const
 
int referenceCount () const
 
ObserverSetgetObserverSet () const
 
ObserverSetgetOrCreateObserverSet () const
 
void addObserver (Observer *observer) const
 
void removeObserver (Observer *observer) const
 

Protected Member Functions

void addTouchPoint (unsigned int id, TouchPhase phase, float x, float y, unsigned int tap_count)
 
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
 
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
 
void deleteUsingDeleteHandler () const
 

Protected Attributes

TouchSet _touches
 
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Friends

class GUIEventAdapter
 

Additional Inherited Members

- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandlergetDeleteHandler ()
 

Member Typedef Documentation

typedef TouchSet::const_iterator osgGA::GUIEventAdapter::TouchData::const_iterator
typedef TouchSet::iterator osgGA::GUIEventAdapter::TouchData::iterator

Constructor & Destructor Documentation

osgGA::GUIEventAdapter::TouchData::TouchData ( )
inline

Member Function Documentation

void osgGA::GUIEventAdapter::TouchData::addTouchPoint ( unsigned int  id,
TouchPhase  phase,
float  x,
float  y,
unsigned int  tap_count 
)
inlineprotected
iterator osgGA::GUIEventAdapter::TouchData::begin ( )
inline
const_iterator osgGA::GUIEventAdapter::TouchData::begin ( ) const
inline
iterator osgGA::GUIEventAdapter::TouchData::end ( )
inline
const_iterator osgGA::GUIEventAdapter::TouchData::end ( ) const
inline
const TouchPoint osgGA::GUIEventAdapter::TouchData::get ( unsigned int  i) const
inline
unsigned int osgGA::GUIEventAdapter::TouchData::getNumTouchPoints ( ) const
inline

Friends And Related Function Documentation

friend class GUIEventAdapter
friend

Member Data Documentation

TouchSet osgGA::GUIEventAdapter::TouchData::_touches
protected

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