OpendTect  6.3
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 (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- 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 () const
 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. 2017