 |
OpendTect
6.6
|
Go to the documentation of this file.
56 const char* description=0);
77 bool unDo(
int nrtimes=1,
bool userinteraction=
true);
80 bool reDo(
int nrtimes=1,
bool userinteraction=
true);
int maxsize_
Definition: undo.h:92
int indexOf(int eventid) const
#define mExpClass(module)
Definition: commondefs.h:177
void setDesc(int eventid, const char *d)
bool isUserInteractionEnd(int eventid) const
int firsteventid_
Definition: undo.h:91
int addEvent(UndoEvent *event, const char *description=0)
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
int currentEventID() const
bool reDo(int nrtimes=1, bool userinteraction=true)
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
virtual const char * getStandardDesc() const =0
Holds the information on how to undo/redo something.
Definition: undo.h:104
void removeAllAfterCurrentEvent()
virtual const BinID & getBinID() const
BufferString unDoDesc() const
bool isUserInteractionEnd() const
BinID UndoEvent.
Definition: undo.h:128
Notifier< Undo > changenotifier
Definition: undo.h:82
int userendscount_
Definition: undo.h:95
void setUserInteractionEnd(int eventid, bool=true)
BufferString * desc_
Definition: undo.h:120
int currenteventid_
Definition: undo.h:90
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
BufferString getDesc() const
bool isuserinteractionend_
Definition: undo.h:121
ObjectSet< UndoEvent > events_
Definition: undo.h:94
BufferString reDoDesc() const
Threads::Lock addlock_
Definition: undo.h:97
void removeAllBeforeCurrentEvent()
BufferString getDesc(int eventid) const
bool unDo(int nrtimes=1, bool userinteraction=true)
void setUserInteractionEnd(bool=true)
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class.
Definition: threadlock.h:53
void removeStartToAndIncluding(int)
Notifier< Undo > undoredochange
Definition: undo.h:83
void setDesc(const char *)
int getNextUserInteractionEnd(int start) const
Class to handle undo/redo information.
Definition: undo.h:42
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021