OpendTect  6.6
stratlaymodgen.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: Oct 2010
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 
13 -*/
14 
15 #include "stratmod.h"
16 #include "executor.h"
17 
18 namespace Strat
19 {
20 class LayerModel;
21 class LayerSequence;
22 class LayerSequenceGenDesc;
23 
28 public:
29 
31  LayerModel&,int nrseqs=100);
32 
33  void setNrSeq( int nr ) { nrseqs_ = nr; }
34  void reset();
35 
36  virtual od_int64 nrDone() const { return seqnr_; }
37  virtual od_int64 totalNr() const { return nrseqs_; }
38  virtual uiString uiNrDoneText() const {
39  return tr("Sequences generated");
40  }
41  virtual uiString uiMessage() const { return msg_; }
42  virtual int nextStep();
43 
44 protected:
45 
48 
52 
53 };
54 
55 
56 }; // namespace Strat
57 
Strat::LayerModelGenerator::uiMessage
virtual uiString uiMessage() const
will be message() again in 7.x
Definition: stratlaymodgen.h:41
od_int64
#define od_int64
Definition: plftypes.h:35
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
Strat::LayerModelGenerator::nextStep
virtual int nextStep()
Strat::LayerModelGenerator
Generates LayerSequences.
Definition: stratlaymodgen.h:27
Strat::LayerSequenceGenDesc
Collection of LayerGenerator's that can generate a full LayerSequence.
Definition: stratlayseqgendesc.h:39
Strat::LayerModelGenerator::reset
void reset()
Strat::LayerModelGenerator::lm_
LayerModel & lm_
Definition: stratlaymodgen.h:47
Strat::LayerModelGenerator::uiNrDoneText
virtual uiString uiNrDoneText() const
will be nrDoneText() in 7.x
Definition: stratlaymodgen.h:38
Executor
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
Strat::LayerModelGenerator::nrseqs_
od_int64 nrseqs_
Definition: stratlaymodgen.h:50
Strat::LayerModelGenerator::setNrSeq
void setNrSeq(int nr)
Definition: stratlaymodgen.h:33
executor.h
Strat::LayerModelGenerator::totalNr
virtual od_int64 totalNr() const
Definition: stratlaymodgen.h:37
Strat::LayerModelGenerator::nrDone
virtual od_int64 nrDone() const
Definition: stratlaymodgen.h:36
Strat::LayerModel
A model consisting of layer sequences.
Definition: stratlayermodel.h:36
Strat::LayerModelGenerator::mODTextTranslationClass
mODTextTranslationClass(LayerModelGenerator)
Strat
Stratigraphy.
Definition: stratlevel.h:26
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
Strat::LayerModelGenerator::msg_
uiString msg_
Definition: stratlaymodgen.h:49
Strat::LayerModelGenerator::desc_
const LayerSequenceGenDesc & desc_
Definition: stratlaymodgen.h:46
Strat::LayerModelGenerator::LayerModelGenerator
LayerModelGenerator(const LayerSequenceGenDesc &, LayerModel &, int nrseqs=100)
Strat::LayerModelGenerator::seqnr_
od_int64 seqnr_
Definition: stratlaymodgen.h:51

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