COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coGRObjSelectMsg.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)2006 VISENSO ++
11 // ++ coGRObjSelectMsg - stores visibility information for an object ++
12 // ++ visibility type can be: geometry, interactor etc. ++
13 // ++ ++
14 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15 
16 #ifndef COGROBJSELECTMSG_H
17 #define COGROBJSELECTMSG_H
18 
19 #include "coGRObjMsg.h"
20 #include <util/coExport.h>
21 
22 namespace grmsg
23 {
24 
26 {
27 public:
28  // construct msg to send
29  coGRObjSelectMsg(const char *obj_name, int select);
30 
31  // reconstruct from received msg
32  coGRObjSelectMsg(const char *msg);
33 
34  // specific functions
35  int isSelected()
36  {
37  return is_selected_;
38  };
39 
40 private:
41  int is_selected_;
42 };
43 }
44 #endif
int isSelected()
Definition: coGRObjSelectMsg.h:35
Definition: coGRObjMsg.h:25
#define GRMSGEXPORT
Definition: coExport.h:337
Definition: coGRObjSelectMsg.h:25