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
qqmlprofilerclient_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQMLPROFILERCLIENT_P_P_H
5#define QQMLPROFILERCLIENT_P_P_H
6
13
14#include <QtCore/qqueue.h>
15#include <QtCore/qstack.h>
16
17//
18// W A R N I N G
19// -------------
20//
21// This file is not part of the Qt API. It exists purely as an
22// implementation detail. This header file may change from version to
23// version without notice, or even be removed.
24//
25// We mean it.
26//
27
29
31 Q_DECLARE_PUBLIC(QQmlProfilerClient)
32public:
45
47
48 void sendRecordingStatus(int engineId);
49 bool updateFeatures(ProfileFeature feature);
51 int resolveStackTop();
52 void forwardEvents(const QQmlProfilerEvent &last);
53 void forwardDebugMessages(qint64 untilTimestamp);
55 void finalize();
56
58 QScopedPointer<QQmlEngineControlClient> engineControl;
59 QScopedPointer<QQmlDebugMessageClient> messageClient;
65
66 // Reuse the same event, so that we don't have to constantly reallocate all the data.
68 QHash<QQmlProfilerEventType, int> eventTypeIds;
69 QHash<qint64, int> serverTypeIds;
70 QStack<QQmlProfilerTypedEvent> rangesInProgress;
71 QQueue<QQmlProfilerEvent> pendingMessages;
72 QQueue<QQmlProfilerEvent> pendingDebugMessages;
73
74 QList<int> trackedEngines;
75};
76
78
79#endif // QQMLPROFILERCLIENT_P_P_H
QPointer< QQmlDebugConnection > connection
QQmlProfilerTypedEvent currentEvent
QHash< QQmlProfilerEventType, int > eventTypeIds
QQueue< QQmlProfilerEvent > pendingDebugMessages
void forwardDebugMessages(qint64 untilTimestamp)
int resolveType(const QQmlProfilerTypedEvent &type)
QQmlProfilerEventReceiver * eventReceiver
void sendRecordingStatus(int engineId)
QStack< QQmlProfilerTypedEvent > rangesInProgress
bool updateFeatures(ProfileFeature feature)
void forwardEvents(const QQmlProfilerEvent &last)
QScopedPointer< QQmlDebugMessageClient > messageClient
QQmlProfilerClientPrivate(QQmlDebugConnection *connection, QQmlProfilerEventReceiver *eventReceiver)
QScopedPointer< QQmlEngineControlClient > engineControl
QHash< qint64, int > serverTypeIds
QQueue< QQmlProfilerEvent > pendingMessages
Combined button and popup list for selecting options.
GLuint GLuint GLuint requestedFeatures
GLenum type
unsigned int quint32
Definition qtypes.h:50
unsigned long long quint64
Definition qtypes.h:61
long long qint64
Definition qtypes.h:60