Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QObjectPrivate::ConnectionData Struct Reference

#include <qobject_p_p.h>

+ Collaboration diagram for QObjectPrivate::ConnectionData:

Public Types

enum  LockPolicy { NeedToLock , AlreadyLockedAndTemporarilyReleasingLock }
 

Public Member Functions

 ~ConnectionData ()
 
void removeConnection (Connection *c)
 
void cleanOrphanedConnections (QObject *sender, LockPolicy lockPolicy=NeedToLock)
 
void cleanOrphanedConnectionsImpl (QObject *sender, LockPolicy lockPolicy)
 
ConnectionListconnectionsForSignal (int signal)
 
void resizeSignalVector (uint size)
 
int signalVectorCount () const
 

Static Public Member Functions

static void deleteOrphaned (TaggedSignalVector o)
 

Public Attributes

QAtomicInteger< uintcurrentConnectionId
 
QAtomicInt ref
 
QAtomicPointer< SignalVectorsignalVector
 
Connectionsenders = nullptr
 
SendercurrentSender = nullptr
 
std::atomic< TaggedSignalVectororphaned = {}
 

Detailed Description

Definition at line 136 of file qobject_p_p.h.

Member Enumeration Documentation

◆ LockPolicy

Enumerator
NeedToLock 
AlreadyLockedAndTemporarilyReleasingLock 

Definition at line 163 of file qobject_p_p.h.

Constructor & Destructor Documentation

◆ ~ConnectionData()

QObjectPrivate::ConnectionData::~ConnectionData ( )
inline

Definition at line 147 of file qobject_p_p.h.

Member Function Documentation

◆ cleanOrphanedConnections()

void QObjectPrivate::ConnectionData::cleanOrphanedConnections ( QObject * sender,
LockPolicy lockPolicy = NeedToLock )
inline

Definition at line 170 of file qobject_p_p.h.

◆ cleanOrphanedConnectionsImpl()

void QObjectPrivate::ConnectionData::cleanOrphanedConnectionsImpl ( QObject * sender,
LockPolicy lockPolicy )

Definition at line 368 of file qobject.cpp.

◆ connectionsForSignal()

ConnectionList & QObjectPrivate::ConnectionData::connectionsForSignal ( int signal)
inline

Definition at line 177 of file qobject_p_p.h.

◆ deleteOrphaned()

void QObjectPrivate::ConnectionData::deleteOrphaned ( TaggedSignalVector o)
inlinestatic

Definition at line 396 of file qobject.cpp.

◆ removeConnection()

void QObjectPrivate::ConnectionData::removeConnection ( QObjectPrivate::Connection * c)

Definition at line 302 of file qobject.cpp.

◆ resizeSignalVector()

void QObjectPrivate::ConnectionData::resizeSignalVector ( uint size)
inline

Definition at line 182 of file qobject_p_p.h.

◆ signalVectorCount()

int QObjectPrivate::ConnectionData::signalVectorCount ( ) const
inline

Definition at line 217 of file qobject_p_p.h.

Member Data Documentation

◆ currentConnectionId

QAtomicInteger<uint> QObjectPrivate::ConnectionData::currentConnectionId

Definition at line 140 of file qobject_p_p.h.

◆ currentSender

Sender* QObjectPrivate::ConnectionData::currentSender = nullptr

Definition at line 144 of file qobject_p_p.h.

◆ orphaned

std::atomic<TaggedSignalVector> QObjectPrivate::ConnectionData::orphaned = {}

Definition at line 145 of file qobject_p_p.h.

◆ ref

QAtomicInt QObjectPrivate::ConnectionData::ref

Definition at line 141 of file qobject_p_p.h.

◆ senders

Connection* QObjectPrivate::ConnectionData::senders = nullptr

Definition at line 143 of file qobject_p_p.h.

◆ signalVector

QAtomicPointer<SignalVector> QObjectPrivate::ConnectionData::signalVector

Definition at line 142 of file qobject_p_p.h.


The documentation for this struct was generated from the following files: