16 #include "earthmodelmod.h" 40 class SurfaceIODataSelection;
53 inline int size()
const {
return nrLoadedObjects(); }
55 bool objectExists(
const EMObject*)
const;
65 EMObject* createTempObject(
const char* type);
69 const char* objectType(
const MultiID&)
const;
81 void burstAlertToAll(
bool yn);
86 bool writeDisplayPars(
const MultiID&,
const IOPar&)
const;
97 : undo_(*
new EMUndo()),id_(
id) {}
99 ~EMObjUndo() {
delete &undo_; }
111 void levelToBeRemoved(CallBacker*);
112 static const char* displayparameterstr();
114 bool readParsFromDisplayInfoFile(
const MultiID&,
116 bool readParsFromGeometryInfoFile(
const MultiID&,
134 EM::ObjectID createObject(
const char* type,
const char* name);
144 const Undo& undo()
const;
147 void eraseUndoList();
int size() const
Definition: emmanager.h:53
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mStruct(module)
Definition: commondefs.h:165
#define mGlobal(module)
Definition: commondefs.h:163
Data interesting for Surface I/O.
Definition: emsurfaceiodata.h:30
int nrLoadedObjects() const
Definition: emmanager.h:52
Undo & undo_
Definition: emmanager.h:106
mDefineFactory1Param(EarthModel, EMObject, EMManager &, EMOF)
Definition: uistring.h:89
Earth Model UI Part Server.
Definition: uiempartserv.h:55
Class to handle undo/redo information.
Definition: undo.h:42
Definition: callback.h:254
bool canOverwrite(const MultiID &)
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
Manages the loaded/half loaded EM objects in OpendTect.
Definition: emmanager.h:46
Notifier< EMManager > addRemove
Definition: emmanager.h:90
Set position UndoEvent.
Definition: emundo.h:33
Interface for classes that select on basis of a key.
Definition: selector.h:25
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
ObjectSet< EMObject > objects_
Definition: emmanager.h:109
Base class for all EarthModel objects.
Definition: emobject.h:158
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Surface I/O data selection.
Definition: emsurfaceiodata.h:62
ObjectSet< EMObjUndo > undolist_
Definition: emmanager.h:102
Compound key consisting of ints.
Definition: multiid.h:25
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
Holds the context for selecting and/or creating IOObjs.
Definition: ctxtioobj.h:62