COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coGRObjSensorEventMsg.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 //-*-Mode: C++;-*-
9 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10 // ++ (C)2008 VISENSO ++
11 // ++ coGRObjSensorEventMsg - send a sensor event of an object (vrml) to GUI ++
12 // ++ ++
13 // ++ ++
14 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15 
16 #ifndef COGROBJSENSOREVENTMSG_H
17 #define COGROBJSENSOREVENTMSG_H
18 
19 #include "coGRObjMsg.h"
20 #include <util/coExport.h>
21 
22 namespace grmsg
23 {
24 
26 {
27 public:
28  int getSensorId();
29  bool isOver();
30  bool isActive();
31 
32  coGRObjSensorEventMsg(Mtype type, const char *obj_name, int sensorId, bool isOver, bool isActive);
33  coGRObjSensorEventMsg(const char *msg);
34 
35 private:
36  int sensorId_;
37  bool isOver_;
38  bool isActive_;
39 };
40 }
41 #endif
bool isActive_
Definition: coGRObjSensorEventMsg.h:38
bool isOver_
Definition: coGRObjSensorEventMsg.h:37
Definition: coGRObjSensorEventMsg.h:25
Mtype
id to specify the type of the message
Definition: coGRMsg.h:42
int sensorId_
Definition: coGRObjSensorEventMsg.h:36
#define GRMSGEXPORT
Definition: coExport.h:319
GLenum type
Definition: khronos-glext.h:6279
Definition: coGRObjMsg.h:25