COVISE Core
coGRObjSetCaseMsg.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// ++ coGRObjSetCaseMsg - stores the case name for an object ++
12// ++ ++
13// ++ ++
14// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15
16#ifndef COGROBJSETCASEMSG_H
17#define COGROBJSETCASEMSG_H
18
19#include "coGRObjMsg.h"
20#include <util/coExport.h>
21
22namespace grmsg
23{
24
26{
27public:
28 // construct msg to send
29 coGRObjSetCaseMsg(Mtype type, const char *obj_name, const char *caseName);
30
31 // reconstruct from received msg
32 coGRObjSetCaseMsg(const char *msg);
33
34 // destructor
36
37 // specific functions
38 const char *getCaseName()
39 {
40 return caseName_;
41 };
42
43private:
44 char *caseName_;
45};
46}
47#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: coGRObjSetCaseMsg.h:26
char * caseName_
Definition: coGRObjSetCaseMsg.h:41
const char * getCaseName()
Definition: coGRObjSetCaseMsg.h:38