COVISE Core
coGRObjRegisterMsg.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// ++ coGRObjVisMsg - register object message ++
12// ++ object name is stored in class coGRObjMsg ++
13// ++ ++
14// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15
16#ifndef COGROBJREGISTERMSG_H
17#define COGROBJREGISTERMSG_H
18
19#include "coGRObjMsg.h"
20#include <util/coExport.h>
21
22namespace grmsg
23{
24
26
27{
28public:
29 // construct msg to send
30 coGRObjRegisterMsg(const char *obj_name, const char *parent_obj_name, int unregister = 0);
31
32 // reconstruct from received msg
33 coGRObjRegisterMsg(const char *msg);
35
36 const char *getParentObjName();
37 int getUnregister();
38
39private:
42};
43}
44
45#endif
#define GRMSGEXPORT
Definition: coExport.h:349
Definition: coGRActivatedViewpointMsg.h:23
Definition: coGRObjMsg.h:26
Definition: coGRObjRegisterMsg.h:27
int unregister_
Definition: coGRObjRegisterMsg.h:41
char * parentObjName_
Definition: coGRObjRegisterMsg.h:40