OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Private Slots | Private Attributes | List of all members
i_QPtrImpl Class Reference

Helper class for QPtr to relay Qt's messages. Internal object, to hide Qt's signal/slot mechanism. More...

Inheritance diagram for i_QPtrImpl:
[legend]

Public Member Functions

QObject * ptr ()
 
const QObject * ptr () const
 
 operator QObject * ()
 
 operator const QObject * () const
 
QObject * operator-> ()
 
QObject * operator-> () const
 
QObject * operator= (QObject *qo)
 
Threads::LockobjLock ()
 
void set (QObject *qo)
 
 i_QPtrImpl (QObject *sndr=0)
 
 ~i_QPtrImpl ()
 
- 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...
 

Public Attributes

Notifier< i_QPtrImplnotifier_
 
Threads::Lock lock_
 

Private Slots

void destroyed (QObject *)
 

Private Attributes

QObject * sender_
 

Additional Inherited Members

- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Detailed Description

Helper class for QPtr to relay Qt's messages. Internal object, to hide Qt's signal/slot mechanism.

Constructor & Destructor Documentation

i_QPtrImpl::i_QPtrImpl ( QObject *  sndr = 0)
i_QPtrImpl::~i_QPtrImpl ( )

Member Function Documentation

void i_QPtrImpl::destroyed ( QObject *  )
inlineprivateslot
Threads::Lock& i_QPtrImpl::objLock ( )
inline
i_QPtrImpl::operator const QObject * ( ) const
inline
i_QPtrImpl::operator QObject * ( )
inline
QObject* i_QPtrImpl::operator-> ( )
inline
QObject* i_QPtrImpl::operator-> ( ) const
inline
QObject* i_QPtrImpl::operator= ( QObject *  qo)
inline
QObject* i_QPtrImpl::ptr ( )
inline
const QObject* i_QPtrImpl::ptr ( ) const
inline
void i_QPtrImpl::set ( QObject *  qo)

Member Data Documentation

Threads::Lock i_QPtrImpl::lock_
Notifier<i_QPtrImpl> i_QPtrImpl::notifier_
QObject* i_QPtrImpl::sender_
private

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