OpendTect-6_4  6.4
emhorizonpreload.h
Go to the documentation of this file.
1 #ifndef emhorizonpreload_h
2 #define emhorizonpreload_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nageswara
9  Date: Aug 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "earthmodelmod.h"
16 #include "callback.h"
17 
18 #include "bufstringset.h"
19 #include "typeset.h"
20 
21 class TaskRunner;
22 
23 namespace EM
24 {
25 
31 {
32 public:
35 
36  bool load(const TypeSet<MultiID>&,TaskRunner* tr=0);
37  const MultiID& getMultiID(const char* name) const;
38  const TypeSet<MultiID>& getPreloadedIDs() const;
39  const BufferStringSet& getPreloadedNames() const;
40  const char* errorMsg() const { return errmsg_; }
41  void unload(const BufferStringSet& hornms);
42 
43 protected:
44  void surveyChgCB(CallBacker*);
45 
49 };
50 
51 
52 mGlobal(EarthModel) HorizonPreLoader& HPreL();
53 
54 } //namespace EM
55 
56 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
TypeSet< MultiID > loadedmids_
Definition: emhorizonpreload.h:46
#define mGlobal(module)
Definition: commondefs.h:163
Set of BufferString objects.
Definition: bufstringset.h:28
const char * errorMsg() const
Definition: emhorizonpreload.h:40
Class that can execute a task.
Definition: task.h:169
BufferString errmsg_
Definition: emhorizonpreload.h:48
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
BufferStringSet loadednms_
Definition: emhorizonpreload.h:47
BufferString errmsg_
Definition: horizontracker.h:119
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
HorizonPreLoader & HPreL()
Horizon preloader
Definition: emhorizonpreload.h:30
Compound key consisting of ints.
Definition: multiid.h:25

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