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

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