COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coGRKeyWordMsg.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)2007 VISENSO ++
11 // ++ coGRObjKeyWordMsg - transmits a key word ++
12 // ++ ++
13 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
14 
15 #ifndef COGRKEYWORDMSG_H
16 #define COGRKEYWORDMSG_H
17 
18 #include "coGRMsg.h"
19 #include <util/coExport.h>
20 
21 namespace grmsg
22 {
23 
25 {
26 public:
27  // construct msg to send
28  coGRKeyWordMsg(const char *keyWord, bool kw);
29 
30  // reconstruct from received msg
31  coGRKeyWordMsg(const char *msg);
32 
33  virtual ~coGRKeyWordMsg();
34 
35  // specific functions
36  const char *getKeyWord()
37  {
38  return keyWord_;
39  };
40 
41 private:
42  char *keyWord_;
43 };
44 }
45 #endif
Definition: coGRMsg.h:38
#define GRMSGEXPORT
Definition: coExport.h:337
Definition: coGRKeyWordMsg.h:24
const char * getKeyWord()
Definition: coGRKeyWordMsg.h:36