OpendTect-6_4  6.4
objdisposer.h
Go to the documentation of this file.
1 #ifndef objdisposer_h
2 #define objdisposer_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: June 2008
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "basicmod.h"
16 #include "callback.h"
17 #include "sets.h"
18 class Timer;
19 
30 {
31 public:
32 
33  void go(CallBacker*);
34 
35 protected:
36 
39 
40  ObjDisposer();
41 
42  void doDel(CallBacker*);
43  mGlobal(Basic) friend ObjDisposer* OBJDISP();
44 
45 };
46 
47 mGlobal(Basic) ObjDisposer* OBJDISP();
48 
49 
50 #endif
#define mExpClass(module)
Definition: commondefs.h:160
ObjectSet< CallBacker > objs_
Definition: objdisposer.h:38
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Disposes after a couple of msecs to avoid all kinds of trouble.
Definition: objdisposer.h:29
#define mGlobal(module)
Definition: commondefs.h:163
ObjectSet< Timer > timers_
Definition: objdisposer.h:37
ObjDisposer * OBJDISP()
Timer class.
Definition: timer.h:25

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019