OpendTect  6.3
emhorizonpreload.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: Nageswara
8  Date: Aug 2010
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "earthmodelmod.h"
14 #include "callback.h"
15 #include "bufstringset.h"
16 #include "dbkey.h"
17 
18 
19 class TaskRunner;
20 
21 namespace EM
22 {
23 
30 public:
33 
34  bool load(const DBKeySet&,TaskRunner* tskr=0);
35  DBKey getDBKey(const char* name) const;
36  const DBKeySet& getPreloadedIDs() const;
37  const BufferStringSet& getPreloadedNames() const;
38  const uiString errorMsg() const { return errmsg_; }
39  void unload(const BufferStringSet& hornms);
40 
41 protected:
42 
43  void surveyChgCB(CallBacker*);
44 
48 
49 };
50 
51 
52 mGlobal(EarthModel) HorizonPreLoader& HPreL();
53 
54 } //namespace EM
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
uiString errmsg_
Definition: emhorizonpreload.h:47
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
#define mGlobal(module)
Definition: commondefs.h:160
Definition: dbkey.h:98
Definition: uistring.h:88
DBKeySet loadedmids_
Definition: emhorizonpreload.h:45
Set of BufferString objects.
Definition: bufstringset.h:25
const uiString errorMsg() const
Definition: emhorizonpreload.h:38
Class that can execute a task.
Definition: task.h:193
BufferStringSet loadednms_
Definition: emhorizonpreload.h:46
BufferString errmsg_
Definition: horizontracker.h:117
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:23
HorizonPreLoader & HPreL()
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
Horizon preloader
Definition: emhorizonpreload.h:28

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