TUIO::TuioCursor Class Reference

#include <TuioCursor.h>

Inheritance diagram for TUIO::TuioCursor:

TUIO::TuioContainer TUIO::TuioPoint

List of all members.

Public Member Functions

 TuioCursor (TuioTime ttime, long si, int ci, float xp, float yp)
 TuioCursor (long si, int ci, float xp, float yp)
 TuioCursor (TuioCursor *tcur)
 ~TuioCursor ()
int getCursorID ()

Protected Attributes

int cursor_id


Detailed Description

The TuioCursor class encapsulates /tuio/2Dcur TUIO cursors.

Author:
Martin Kaltenbrunner
Version:
1.4

Constructor & Destructor Documentation

TUIO::TuioCursor::TuioCursor ( TuioTime  ttime,
long  si,
int  ci,
float  xp,
float  yp 
) [inline]

This constructor takes a TuioTime argument and assigns it along with the provided Session ID, Cursor ID, X and Y coordinate to the newly created TuioCursor.

Parameters:
ttime the TuioTime to assign
si the Session ID to assign
ci the Cursor ID to assign
xp the X coordinate to assign
yp the Y coordinate to assign

TUIO::TuioCursor::TuioCursor ( long  si,
int  ci,
float  xp,
float  yp 
) [inline]

This constructor takes the provided Session ID, Cursor ID, X and Y coordinate and assigs these values to the newly created TuioCursor.

Parameters:
si the Session ID to assign
ci the Cursor ID to assign
xp the X coordinate to assign
yp the Y coordinate to assign

TUIO::TuioCursor::TuioCursor ( TuioCursor tcur  )  [inline]

This constructor takes the atttibutes of the provided TuioCursor and assigs these values to the newly created TuioCursor.

Parameters:
tcur the TuioCursor to assign

TUIO::TuioCursor::~TuioCursor (  )  [inline]

The destructor is doing nothing in particular.


Member Function Documentation

int TUIO::TuioCursor::getCursorID (  )  [inline]

Returns the Cursor ID of this TuioCursor.

Returns:
the Cursor ID of this TuioCursor


Member Data Documentation

int TUIO::TuioCursor::cursor_id [protected]

The individual cursor ID number that is assigned to each TuioCursor.


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

Generated on Thu Mar 12 00:21:51 2009 for TUIO C++ Developer API by  doxygen 1.5.6