COVISE Core
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
21namespace grmsg
22{
23
25{
26public:
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
41private:
42 char *keyWord_;
43};
44}
45#endif
#define GRMSGEXPORT
Definition: coExport.h:349
Definition: coGRActivatedViewpointMsg.h:23
Definition: coGRKeyWordMsg.h:25
const char * getKeyWord()
Definition: coGRKeyWordMsg.h:36
char * keyWord_
Definition: coGRKeyWordMsg.h:39
Definition: coGRMsg.h:38