OpendTect-6_4  6.4
stratlaymodgen.h
Go to the documentation of this file.
1 #ifndef stratlaymodgen_h
2 #define stratlaymodgen_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Oct 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "stratmod.h"
17 #include "executor.h"
18 
19 namespace Strat
20 {
21 class LayerModel;
22 class LayerSequence;
23 class LayerSequenceGenDesc;
24 
29 public:
30 
32  LayerModel&,int nrseqs=100);
33 
34  void setNrSeq( int nr ) { nrseqs_ = nr; }
35  void reset();
36 
37  virtual od_int64 nrDone() const { return seqnr_; }
38  virtual od_int64 totalNr() const { return nrseqs_; }
39  virtual uiString uiNrDoneText() const {
40  return tr("Sequences generated");
41  }
42  virtual uiString uiMessage() const { return msg_; }
43  virtual int nextStep();
44 
45 protected:
46 
49 
53 
54 };
55 
56 
57 }; // namespace Strat
58 
59 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Collection of LayerGenerator's that can generate a full LayerSequence.
Definition: stratlayseqgendesc.h:39
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
#define od_int64
Definition: plftypes.h:36
virtual od_int64 totalNr() const
Definition: stratlaymodgen.h:38
const LayerSequenceGenDesc & desc_
Definition: stratlaymodgen.h:47
od_int64 seqnr_
Definition: stratlaymodgen.h:52
Definition: uistring.h:89
virtual od_int64 nrDone() const
Definition: stratlaymodgen.h:37
uiString msg_
Definition: stratlaymodgen.h:50
virtual uiString uiNrDoneText() const
will be nrDoneText() in 7.x
Definition: stratlaymodgen.h:39
Stratigraphy.
Definition: stratlevel.h:26
LayerModel & lm_
Definition: stratlaymodgen.h:48
void setNrSeq(int nr)
Definition: stratlaymodgen.h:34
A model consisting of layer sequences.
Definition: stratlayermodel.h:36
Generates LayerSequences.
Definition: stratlaymodgen.h:27
od_int64 nrseqs_
Definition: stratlaymodgen.h:51
virtual uiString uiMessage() const
will be message() again in 7.x
Definition: stratlaymodgen.h:42
Specification to enable chunkwise execution of a process.
Definition: executor.h:39

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