COVISE Core
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
22namespace grmsg
23{
24
26{
27public:
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
35private:
37 bool isOver_;
39};
40}
41#endif
#define GRMSGEXPORT
Definition: coExport.h:349
GLenum type
Definition: khronos-glext.h:6279
Definition: coGRActivatedViewpointMsg.h:23
Mtype
id to specify the type of the message
Definition: coGRMsg.h:42
Definition: coGRObjMsg.h:26
Definition: coGRObjSensorEventMsg.h:26
int sensorId_
Definition: coGRObjSensorEventMsg.h:36
bool isOver_
Definition: coGRObjSensorEventMsg.h:37
bool isActive_
Definition: coGRObjSensorEventMsg.h:38