TUIO C++ Developer API
TuioCursor.h
1 /*
2  TUIO C++ Library
3  Copyright (c) 2005-2017 Martin Kaltenbrunner <martin@tuio.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 3.0 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library.
17 */
18 
19 #ifndef INCLUDED_TUIOCURSOR_H
20 #define INCLUDED_TUIOCURSOR_H
21 
22 #include "TuioContainer.h"
23 
24 namespace TUIO {
25 
32  class LIBDECL TuioCursor: public TuioContainer {
33 
34  protected:
38  int cursor_id;
39 
40  public:
42 
53  TuioCursor (TuioTime ttime, long si, int ci, float xp, float yp);
54 
64  TuioCursor (long si, int ci, float xp, float yp);
65 
72  TuioCursor (TuioCursor *tcur);
73 
77  virtual ~TuioCursor(){};
78 
83  int getCursorID() const;
84  };
85 }
86 #endif
Definition: TuioContainer.h:44
int cursor_id
Definition: TuioCursor.h:38
Definition: TuioTime.h:48
Definition: FlashSender.h:166
virtual void update(TuioTime ttime, float xp, float yp)
Definition: TuioContainer.cpp:95
virtual ~TuioCursor()
Definition: TuioCursor.h:77
Definition: TuioCursor.h:32