OpendTect-6_4  6.4
prestackeventtransl.h
Go to the documentation of this file.
1 #ifndef prestackeventtransl_h
2 #define prestackeventtransl_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: March 2007
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "prestackprocessingmod.h"
17 #include "transl.h"
18 
19 class Executor;
20 class IOObj;
21 class BinIDValueSet;
22 class TrcKeySampling;
23 
24 namespace PreStack { class EventManager; }
25 
30 mExpClass(PreStackProcessing) PSEventTranslatorGroup : public TranslatorGroup
31 { isTranslatorGroup(PSEvent);
32 public:
34  const char* defExtension() const { return sDefExtension(); }
35  static const char* sDefExtension() { return "psevent"; }
36 };
37 
38 
43 mExpClass(PreStackProcessing) PSEventTranslator : public Translator
44 {
45 public:
47  virtual Executor* createReader(PreStack::EventManager&,
48  const BinIDValueSet*,
49  const TrcKeySampling*,IOObj*,
50  bool trigger) = 0;
51  virtual Executor* createWriter(PreStack::EventManager&,IOObj*) = 0;
52  virtual Executor* createSaveAs(PreStack::EventManager&,IOObj*) = 0;
53  virtual Executor* createOptimizer(IOObj*) = 0;
54 
55  static Executor* reader(PreStack::EventManager&, const BinIDValueSet*,
56  const TrcKeySampling*, IOObj*, bool trigger );
57  static Executor* writer(PreStack::EventManager&,IOObj*);
58  static Executor* writeAs(PreStack::EventManager&,IOObj*);
59 };
60 
61 
66 mExpClass(PreStackProcessing) dgbPSEventTranslator : public PSEventTranslator
67 { isTranslator(dgb,PSEvent)
68 public:
69  mDefEmptyTranslatorConstructor(dgb,PSEvent);
70  Executor* createReader(PreStack::EventManager&,
71  const BinIDValueSet*,
72  const TrcKeySampling*,IOObj*,bool);
73  Executor* createWriter(PreStack::EventManager&,IOObj*);
74  Executor* createSaveAs(PreStack::EventManager&,IOObj*);
75  Executor* createOptimizer(IOObj*) { return 0; }
76 
77 };
78 
79 
80 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: ioobj.h:58
static const char * sDefExtension()
Definition: prestackeventtransl.h:35
Definition: synthseis.h:36
const char * defExtension() const
Definition: prestackeventtransl.h:34
dgb PSEventTranslator.
Definition: prestackeventtransl.h:66
#define mDefEmptyTranslatorConstructor(spec, clss)
Definition: transl.h:267
#define mDefEmptyTranslatorGroupConstructor(clss)
Definition: transl.h:255
Group of Translators. Has a static factory.
Definition: transl.h:56
Executor * createOptimizer(IOObj *)
Definition: prestackeventtransl.h:75
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:27
#define mDefEmptyTranslatorBaseConstructor(clss)
Definition: transl.h:261
I/O Interpreter class for a certain object type.
Definition: transl.h:123
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
#define isTranslatorGroup(clss)
Definition: transl.h:206
Translator for PreStack Event.
Definition: prestackeventtransl.h:43
A EventManager is a set of EventsSet on multiple PreStack gathers, and are identified under the same ...
Definition: prestackevents.h:102
#define isTranslator(spec, clss)
Definition: transl.h:230
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
TranslatorGroup for PreStack Event.
Definition: prestackeventtransl.h:30

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