Fade2.5D Documentation pages v2.16.7
Delaunay Features
MsgBase.h
Go to the documentation of this file.
1 // Copyright (C) Geom Software e.U, Bernhard Kornberger, Graz/Austria
2 //
3 // This file is part of the Fade2D library. The student license is free
4 // of charge and covers personal non-commercial research. Licensees
5 // holding a commercial license may use this file in accordance with
6 // the Commercial License Agreement.
7 //
8 // This software is provided AS IS with NO WARRANTY OF ANY KIND,
9 // INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
10 // FOR A PARTICULAR PURPOSE.
11 //
12 // Please contact the author if any conditions of this licensing are
13 // not clear to you.
14 //
15 // Author: Bernhard Kornberger, bkorn (at) geom.at
16 // http://www.geom.at
17 
19 #pragma once
20 #include "common.h"
21 
22 
23 #if GEOM_PSEUDO3D==GEOM_TRUE
24  namespace GEOM_FADE25D {
25 #elif GEOM_PSEUDO3D==GEOM_FALSE
26  namespace GEOM_FADE2D {
27 #else
28  #error GEOM_PSEUDO3D is not defined
29 #endif
30 
31 
39 enum MsgType
40 {
43 };
44 
54 class CLASS_DECLSPEC MsgBase
55 {
56 public:
58  MsgBase(){};
60  virtual ~MsgBase(){}
70  virtual void update(MsgType msgType,const char* s,double d)=0;
71 };
72 
73 
74 } // Namespace
75 
MsgType
Message types for the message system.
Definition: MsgBase.h:40
@ MSG_WARNING
Definition: MsgBase.h:42
@ MSG_PROGRESS
Definition: MsgBase.h:41
MsgBase, a base class for message subscriber classes.
Definition: MsgBase.h:55
MsgBase()
Default constructor.
Definition: MsgBase.h:58
virtual void update(MsgType msgType, const char *s, double d)=0
update
virtual ~MsgBase()
Destructor.
Definition: MsgBase.h:60