OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
uiBaseObject Class Reference
Inheritance diagram for uiBaseObject:
[legend]

Public Member Functions

 uiBaseObject (const char *nm, uiBody *=0)
 
virtual ~uiBaseObject ()
 
int beginCmdRecEvent (const BufferString &msg)
 
int beginCmdRecEvent (const char *msg=0)
 
int beginCmdRecEvent (od_uint64 id, const char *msg=0)
 
uiBodybody ()
 
const uiBodybody () const
 
void clear ()
 
void endCmdRecEvent (int refnr, const char *msg=0)
 
void endCmdRecEvent (od_uint64 id, int refnr, const char *msg=0)
 
void finalise ()
 
bool finalised () const
 
void finalize ()
 
bool finalized () const
 
virtual QWidget * getWidget ()
 
const QWidget * getWidget () const
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual Notifier< uiBaseObject > & postFinalize ()
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
virtual Notifier< uiBaseObject > & preFinalize ()
 
virtual void translateText ()
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) 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 ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
const name_typename () const override
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static void addCmdRecorder (const CallBack &)
 
static void removeCmdRecorder (const CallBack &)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

void setBody (uiBody *b)
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Private Attributes

uiBodybody_
 
int cmdrecrefnr_
 
Notifier< uiBaseObjectfinalizeDone
 triggered when finalizing finished More...
 
Notifier< uiBaseObjectfinalizeStart
 triggered when about to start finalizing More...
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiBaseObject()

uiBaseObject::uiBaseObject ( const char *  nm,
uiBody = 0 
)

◆ ~uiBaseObject()

virtual uiBaseObject::~uiBaseObject ( )
virtual

Member Function Documentation

◆ addCmdRecorder()

static void uiBaseObject::addCmdRecorder ( const CallBack )
static

◆ beginCmdRecEvent() [1/3]

int uiBaseObject::beginCmdRecEvent ( const BufferString msg)

◆ beginCmdRecEvent() [2/3]

int uiBaseObject::beginCmdRecEvent ( const char *  msg = 0)

◆ beginCmdRecEvent() [3/3]

int uiBaseObject::beginCmdRecEvent ( od_uint64  id,
const char *  msg = 0 
)

◆ body() [1/2]

uiBody* uiBaseObject::body ( )
inline

◆ body() [2/2]

const uiBody* uiBaseObject::body ( ) const
inline

◆ clear()

void uiBaseObject::clear ( )

◆ endCmdRecEvent() [1/2]

void uiBaseObject::endCmdRecEvent ( int  refnr,
const char *  msg = 0 
)

◆ endCmdRecEvent() [2/2]

void uiBaseObject::endCmdRecEvent ( od_uint64  id,
int  refnr,
const char *  msg = 0 
)

◆ finalise()

void uiBaseObject::finalise ( )
inline

◆ finalised()

bool uiBaseObject::finalised ( ) const
inline

◆ finalize()

void uiBaseObject::finalize ( )

◆ finalized()

bool uiBaseObject::finalized ( ) const

◆ getWidget() [1/2]

virtual QWidget* uiBaseObject::getWidget ( )
inlinevirtual

Reimplemented in uiObject, uiMenu, and uiMenuBar.

◆ getWidget() [2/2]

const QWidget* uiBaseObject::getWidget ( ) const

◆ postFinalise()

virtual Notifier<uiBaseObject>& uiBaseObject::postFinalise ( )
inlinevirtual

Reimplemented in uiGroup.

◆ postFinalize()

virtual Notifier<uiBaseObject>& uiBaseObject::postFinalize ( )
inlinevirtual

Reimplemented in uiGroup.

◆ preFinalise()

virtual Notifier<uiBaseObject>& uiBaseObject::preFinalise ( )
inlinevirtual

Reimplemented in uiGroup.

◆ preFinalize()

virtual Notifier<uiBaseObject>& uiBaseObject::preFinalize ( )
inlinevirtual

Reimplemented in uiGroup.

◆ removeCmdRecorder()

static void uiBaseObject::removeCmdRecorder ( const CallBack )
static

◆ setBody()

void uiBaseObject::setBody ( uiBody b)
inlineprotected

◆ translateText()

virtual void uiBaseObject::translateText ( )
inlinevirtual

Triggers translation of object and all members to current language.

Reimplemented in uiODMain, uiTreeView, uiToolBar, uiSpinBox, uiParent, uiObject, uiMainWin, uiListBox, uiLabel, uiGraphicsViewBase, uiComboBox, uiPushButton, and uiButton.

Member Data Documentation

◆ body_

uiBody* uiBaseObject::body_
private

◆ cmdrecrefnr_

int uiBaseObject::cmdrecrefnr_
private

◆ finalizeDone

Notifier<uiBaseObject> uiBaseObject::finalizeDone
private

triggered when finalizing finished

◆ finalizeStart

Notifier<uiBaseObject> uiBaseObject::finalizeStart
private

triggered when about to start finalizing


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