OpendTect-6_4  6.4
Public Member Functions | List of all members
EM::EMUndo Class Reference

Set position UndoEvent. More...

Inheritance diagram for EM::EMUndo:
[legend]

Public Member Functions

ObjectID getCurrentEMObjectID (bool forredo) const
 
- Public Member Functions inherited from Undo
 Undo ()
 
virtual ~Undo ()
 
void removeAll ()
 
int maxLength () const
 
void setMaxLength (int)
 
int addEvent (UndoEvent *event, const char *description=0)
 
int currentEventID () const
 
int firstEventID () const
 
int lastEventID () const
 
void removeAllAfterCurrentEvent ()
 
void removeAllBeforeCurrentEvent ()
 
bool isUserInteractionEnd (int eventid) const
 
void setUserInteractionEnd (int eventid, bool=true)
 
int getNextUserInteractionEnd (int start) const
 
BufferString getDesc (int eventid) const
 
void setDesc (int eventid, const char *d)
 
BufferString unDoDesc () const
 
BufferString reDoDesc () const
 
bool canUnDo () const
 
bool unDo (int nrtimes=1, bool userinteraction=true)
 
bool canReDo () const
 
bool reDo (int nrtimes=1, bool userinteraction=true)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Additional Inherited Members

- Public Attributes inherited from Undo
Notifier< Undochangenotifier
 
Notifier< Undoundoredochange
 
- Protected Member Functions inherited from Undo
int indexOf (int eventid) const
 
void removeOldEvents ()
 
void removeStartToAndIncluding (int)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 
- Protected Attributes inherited from Undo
int currenteventid_
 
int firsteventid_
 
int maxsize_
 
ObjectSet< UndoEventevents_
 
int userendscount_
 
Threads::Lock addlock_
 

Detailed Description

Set position UndoEvent.

Member Function Documentation

ObjectID EM::EMUndo::getCurrentEMObjectID ( bool  forredo) const

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