OpendTect  6.3
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 (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
 

Public Attributes

Notifier< i_QPtrImplnotifier_
 
Threads::Lock lock_
 

Private Slots

void destroyed (QObject *)
 

Private Attributes

QObject * sender_
 

Additional Inherited Members

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