COVISE Core
coGRObjMsg.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// ++ coGRObjMsg - handles object depending messages ++
12// ++ helping class only used by child classes ++
13// ++ Base class for all object messages ++
14// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15
16#ifndef COGROBJMSG_H
17#define COGROBJMSG_H
18
19#include "coGRMsg.h"
20#include <util/coExport.h>
21
22namespace grmsg
23{
24
26{
27public:
28 const char *getObjName();
29
30protected:
31 coGRObjMsg(coGRMsg::Mtype type, const char *obj_name);
32 coGRObjMsg(const char *msg);
33 virtual ~coGRObjMsg();
34
35private:
36 char *obj_name_;
37};
38}
39#endif
#define GRMSGEXPORT
Definition: coExport.h:349
GLenum type
Definition: khronos-glext.h:6279
Definition: coGRActivatedViewpointMsg.h:23
Definition: coGRMsg.h:38
Mtype
id to specify the type of the message
Definition: coGRMsg.h:42
Definition: coGRObjMsg.h:26
char * obj_name_
Definition: coGRObjMsg.h:36