Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlProfilerClientPrivate Class Reference

#include <qqmlprofilerclient_p_p.h>

+ Inheritance diagram for QQmlProfilerClientPrivate:
+ Collaboration diagram for QQmlProfilerClientPrivate:

Public Member Functions

 QQmlProfilerClientPrivate (QQmlDebugConnection *connection, QQmlProfilerEventReceiver *eventReceiver)
 
 ~QQmlProfilerClientPrivate () override
 
void sendRecordingStatus (int engineId)
 
bool updateFeatures (ProfileFeature feature)
 
int resolveType (const QQmlProfilerTypedEvent &type)
 
int resolveStackTop ()
 
void forwardEvents (const QQmlProfilerEvent &last)
 
void forwardDebugMessages (qint64 untilTimestamp)
 
void processCurrentEvent ()
 
void finalize ()
 
- Public Member Functions inherited from QQmlDebugClientPrivate
 QQmlDebugClientPrivate (const QString &name, QQmlDebugConnection *connection)
 
void addToConnection ()
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Public Attributes

QQmlProfilerEventReceivereventReceiver
 
QScopedPointer< QQmlEngineControlClientengineControl
 
QScopedPointer< QQmlDebugMessageClientmessageClient
 
qint64 maximumTime
 
bool recording
 
quint64 requestedFeatures
 
quint64 recordedFeatures
 
quint32 flushInterval
 
QQmlProfilerTypedEvent currentEvent
 
QHash< QQmlProfilerEventType, int > eventTypeIds
 
QHash< qint64, int > serverTypeIds
 
QStack< QQmlProfilerTypedEventrangesInProgress
 
QQueue< QQmlProfilerEventpendingMessages
 
QQueue< QQmlProfilerEventpendingDebugMessages
 
QList< int > trackedEngines
 
- Public Attributes inherited from QQmlDebugClientPrivate
QString name
 
QPointer< QQmlDebugConnectionconnection
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Detailed Description

Definition at line 30 of file qqmlprofilerclient_p_p.h.

Constructor & Destructor Documentation

◆ QQmlProfilerClientPrivate()

QQmlProfilerClientPrivate::QQmlProfilerClientPrivate ( QQmlDebugConnection * connection,
QQmlProfilerEventReceiver * eventReceiver )
inline

Definition at line 33 of file qqmlprofilerclient_p_p.h.

◆ ~QQmlProfilerClientPrivate()

QT_BEGIN_NAMESPACE QQmlProfilerClientPrivate::~QQmlProfilerClientPrivate ( )
override

Definition at line 9 of file qqmlprofilerclient.cpp.

Member Function Documentation

◆ finalize()

void QQmlProfilerClientPrivate::finalize ( )

Definition at line 192 of file qqmlprofilerclient.cpp.

References currentEvent, QQmlProfilerTypedEvent::event, forwardDebugMessages(), QList< T >::isEmpty(), maximumTime, processCurrentEvent(), RangeEnd, rangesInProgress, QQmlProfilerEvent::setRangeStage(), QQmlProfilerEvent::setTimestamp(), and QStack< T >::top().

+ Here is the call graph for this function:

◆ forwardDebugMessages()

void QQmlProfilerClientPrivate::forwardDebugMessages ( qint64 untilTimestamp)

Definition at line 66 of file qqmlprofilerclient.cpp.

References QQmlProfilerEventReceiver::addEvent(), QQueue< T >::dequeue(), eventReceiver, QList< T >::front(), QList< T >::isEmpty(), and pendingDebugMessages.

Referenced by finalize(), and forwardEvents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ forwardEvents()

void QQmlProfilerClientPrivate::forwardEvents ( const QQmlProfilerEvent & last)

Definition at line 60 of file qqmlprofilerclient.cpp.

References QQmlProfilerEventReceiver::addEvent(), eventReceiver, forwardDebugMessages(), and QQmlProfilerEvent::timestamp().

Referenced by processCurrentEvent(), and resolveStackTop().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ processCurrentEvent()

void QQmlProfilerClientPrivate::processCurrentEvent ( )

◆ resolveStackTop()

int QQmlProfilerClientPrivate::resolveStackTop ( )

Definition at line 40 of file qqmlprofilerclient.cpp.

References QQueue< T >::dequeue(), QQmlProfilerTypedEvent::event, forwardEvents(), QQueue< T >::head(), QList< T >::isEmpty(), pendingMessages, rangesInProgress, resolveType(), QQmlProfilerEvent::timestamp(), QStack< T >::top(), and QQmlProfilerEvent::typeIndex().

Referenced by processCurrentEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resolveType()

int QQmlProfilerClientPrivate::resolveType ( const QQmlProfilerTypedEvent & type)

Definition at line 13 of file qqmlprofilerclient.cpp.

References QQmlProfilerEventReceiver::addEventType(), QHash< Key, T >::constEnd(), QHash< Key, T >::constFind(), eventReceiver, eventTypeIds, it, QQmlProfilerEventReceiver::numLoadedEventTypes(), and serverTypeIds.

Referenced by processCurrentEvent(), and resolveStackTop().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sendRecordingStatus()

void QQmlProfilerClientPrivate::sendRecordingStatus ( int engineId)

Definition at line 122 of file qqmlprofilerclient.cpp.

References QQmlDebugClientPrivate::connection, QQmlDebugConnection::currentDataStreamVersion(), flushInterval, and recording.

+ Here is the call graph for this function:

◆ updateFeatures()

bool QQmlProfilerClientPrivate::updateFeatures ( ProfileFeature feature)

Definition at line 277 of file qqmlprofilerclient.cpp.

References emit, and recordedFeatures.

Member Data Documentation

◆ currentEvent

QQmlProfilerTypedEvent QQmlProfilerClientPrivate::currentEvent

Definition at line 67 of file qqmlprofilerclient_p_p.h.

Referenced by finalize(), and processCurrentEvent().

◆ engineControl

QScopedPointer<QQmlEngineControlClient> QQmlProfilerClientPrivate::engineControl

Definition at line 58 of file qqmlprofilerclient_p_p.h.

◆ eventReceiver

QQmlProfilerEventReceiver* QQmlProfilerClientPrivate::eventReceiver

Definition at line 57 of file qqmlprofilerclient_p_p.h.

Referenced by forwardDebugMessages(), forwardEvents(), and resolveType().

◆ eventTypeIds

QHash<QQmlProfilerEventType, int> QQmlProfilerClientPrivate::eventTypeIds

Definition at line 68 of file qqmlprofilerclient_p_p.h.

Referenced by resolveType().

◆ flushInterval

quint32 QQmlProfilerClientPrivate::flushInterval

Definition at line 64 of file qqmlprofilerclient_p_p.h.

Referenced by sendRecordingStatus().

◆ maximumTime

qint64 QQmlProfilerClientPrivate::maximumTime

Definition at line 60 of file qqmlprofilerclient_p_p.h.

Referenced by finalize().

◆ messageClient

QScopedPointer<QQmlDebugMessageClient> QQmlProfilerClientPrivate::messageClient

Definition at line 59 of file qqmlprofilerclient_p_p.h.

◆ pendingDebugMessages

QQueue<QQmlProfilerEvent> QQmlProfilerClientPrivate::pendingDebugMessages

Definition at line 72 of file qqmlprofilerclient_p_p.h.

Referenced by forwardDebugMessages(), and processCurrentEvent().

◆ pendingMessages

QQueue<QQmlProfilerEvent> QQmlProfilerClientPrivate::pendingMessages

Definition at line 71 of file qqmlprofilerclient_p_p.h.

Referenced by processCurrentEvent(), and resolveStackTop().

◆ rangesInProgress

QStack<QQmlProfilerTypedEvent> QQmlProfilerClientPrivate::rangesInProgress

Definition at line 70 of file qqmlprofilerclient_p_p.h.

Referenced by finalize(), processCurrentEvent(), and resolveStackTop().

◆ recordedFeatures

quint64 QQmlProfilerClientPrivate::recordedFeatures

Definition at line 63 of file qqmlprofilerclient_p_p.h.

Referenced by updateFeatures().

◆ recording

bool QQmlProfilerClientPrivate::recording

Definition at line 61 of file qqmlprofilerclient_p_p.h.

Referenced by sendRecordingStatus().

◆ requestedFeatures

quint64 QQmlProfilerClientPrivate::requestedFeatures

Definition at line 62 of file qqmlprofilerclient_p_p.h.

◆ serverTypeIds

QHash<qint64, int> QQmlProfilerClientPrivate::serverTypeIds

Definition at line 69 of file qqmlprofilerclient_p_p.h.

Referenced by resolveType().

◆ trackedEngines

QList<int> QQmlProfilerClientPrivate::trackedEngines

Definition at line 74 of file qqmlprofilerclient_p_p.h.


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