OpendTect  7.0
Public Member Functions | List of all members
EM::EMUndo Class Reference

Set position UndoEvent. More...

Inheritance diagram for EM::EMUndo:
[legend]

Public Member Functions

 EMUndo ()
 
 ~EMUndo ()
 
ObjectID getCurrentEMObjectID (bool forredo) const
 
- Public Member Functions inherited from Undo
 Undo ()
 
virtual ~Undo ()
 
int addEvent (UndoEvent *event, const char *description=0)
 
bool canReDo () const
 
bool canUnDo () const
 
int currentEventID () const
 
int firstEventID () const
 
BufferString getDesc (int eventid) const
 
int getNextUserInteractionEnd (int start) const
 
bool isUserInteractionEnd (int eventid) const
 
int lastEventID () const
 
int maxLength () const
 
bool reDo (int nrtimes=1, bool userinteraction=true)
 
BufferString reDoDesc () const
 
void removeAll ()
 
void removeAllAfterCurrentEvent ()
 
void removeAllBeforeCurrentEvent ()
 
void setDesc (int eventid, const char *d)
 
void setMaxLength (int)
 
void setUserInteractionEnd (int eventid, bool=true)
 
bool unDo (int nrtimes=1, bool userinteraction=true)
 
BufferString unDoDesc () const
 
- 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 detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

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 Attributes inherited from Undo
Threads::Lock addlock_
 
int currenteventid_
 
ObjectSet< UndoEventevents_
 
int firsteventid_
 
int maxsize_
 
int userendscount_
 

Detailed Description

Set position UndoEvent.

<>

Constructor & Destructor Documentation

◆ EMUndo()

EM::EMUndo::EMUndo ( )

◆ ~EMUndo()

EM::EMUndo::~EMUndo ( )

Member Function Documentation

◆ getCurrentEMObjectID()

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

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