OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::PosIDChangeEvent Class Reference

Saves information from a EMObject::changePosID call. More...

Inheritance diagram for EM::PosIDChangeEvent:
[legend]

Public Member Functions

 PosIDChangeEvent (const PosID &from, const PosID &to, const Coord3 &tosprevpos)
 
ObjectID getObjectID () const override
 
const char * getStandardDesc () const override
 
bool reDo () override
 
bool unDo () override
 
- Public Member Functions inherited from EM::EMUndoEvent
 ~EMUndoEvent ()
 
- Public Member Functions inherited from UndoEvent
virtual ~UndoEvent ()
 
BufferString getDesc () const
 
bool isUserInteractionEnd () const
 
void setDesc (const char *)
 
void setUserInteractionEnd (bool=true)
 

Protected Member Functions

 ~PosIDChangeEvent ()
 
- Protected Member Functions inherited from EM::EMUndoEvent
 EMUndoEvent ()
 
- Protected Member Functions inherited from UndoEvent
 UndoEvent ()
 

Protected Attributes

const PosID from_
 
Coord3 savedpos_
 
const PosID to_
 
- Protected Attributes inherited from UndoEvent
BufferStringdesc_
 
bool isuserinteractionend_
 

Detailed Description

Saves information from a EMObject::changePosID call.

<>

Constructor & Destructor Documentation

◆ PosIDChangeEvent()

EM::PosIDChangeEvent::PosIDChangeEvent ( const PosID from,
const PosID to,
const Coord3 tosprevpos 
)

◆ ~PosIDChangeEvent()

EM::PosIDChangeEvent::~PosIDChangeEvent ( )
protected

Member Function Documentation

◆ getObjectID()

ObjectID EM::PosIDChangeEvent::getObjectID ( ) const
inlineoverridevirtual

Implements EM::EMUndoEvent.

◆ getStandardDesc()

const char* EM::PosIDChangeEvent::getStandardDesc ( ) const
overridevirtual

Implements UndoEvent.

◆ reDo()

bool EM::PosIDChangeEvent::reDo ( )
overridevirtual

Implements UndoEvent.

◆ unDo()

bool EM::PosIDChangeEvent::unDo ( )
overridevirtual

Implements UndoEvent.

Member Data Documentation

◆ from_

const PosID EM::PosIDChangeEvent::from_
protected

◆ savedpos_

Coord3 EM::PosIDChangeEvent::savedpos_
protected

◆ to_

const PosID EM::PosIDChangeEvent::to_
protected

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