Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmlprofilerclient_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
// Qt-Security score:significant
4
5
#
ifndef
QQMLPROFILERCLIENT_P_H
6
#
define
QQMLPROFILERCLIENT_P_H
7
8
#
include
"qqmldebugclient_p.h"
9
#
include
"qqmlprofilereventlocation_p.h"
10
#
include
"qqmlprofilereventreceiver_p.h"
11
#
include
"qqmlprofilerclientdefinitions_p.h"
12
13
#
include
<
private
/
qpacket_p
.
h
>
14
15
//
16
// W A R N I N G
17
// -------------
18
//
19
// This file is not part of the Qt API. It exists purely as an
20
// implementation detail. This header file may change from version to
21
// version without notice, or even be removed.
22
//
23
// We mean it.
24
//
25
26
QT_BEGIN_NAMESPACE
27
28
struct
QQmlDebugContextInfo
;
29
class
QQmlProfilerClientPrivate;
30
class
QQmlProfilerClient
:
public
QQmlDebugClient
31
{
32
Q_OBJECT
33
Q_DECLARE_PRIVATE(
QQmlProfilerClient
)
34
Q_PROPERTY
(
bool
recording
READ
isRecording
WRITE
setRecording
NOTIFY
recordingChanged
)
35
36
public
:
37
QQmlProfilerClient
(
QQmlDebugConnection
*
connection
,
QQmlProfilerEventReceiver
*
eventReceiver
,
38
quint64
features
=
std
::
numeric_limits
<
quint64
>::
max
());
39
~
QQmlProfilerClient
();
40
41
bool
isRecording
()
const
;
42
void
setRecording
(
bool
);
43
quint64
recordedFeatures
()
const
;
44
virtual
void
messageReceived
(
const
QByteArray &)
override
;
45
46
void
clearEvents
();
47
void
clearAll
();
48
49
void
sendRecordingStatus
(
int
engineId = -1);
50
void
setRequestedFeatures
(quint64 features);
51
void
setFlushInterval
(quint32 flushInterval);
52
53
protected
:
54
QQmlProfilerClient
(QQmlProfilerClientPrivate &dd);
55
void
onStateChanged
(State status);
56
57
Q_SIGNALS
:
58
void
complete
(
qint64
maximumTime
);
59
void
traceFinished
(qint64 timestamp,
const
QList<
int
> &engineIds);
60
void
traceStarted
(qint64 timestamp,
const
QList<
int
> &engineIds);
61
62
void
recordingChanged
(
bool
arg);
63
void
recordedFeaturesChanged
(quint64 features);
64
65
void
cleared
();
66
67
private
:
68
void
receiveDebugMessage(
69
QtMsgType type,
const
QString &text,
const
QQmlDebugContextInfo
&context);
70
};
71
72
QT_END_NAMESPACE
73
74
#
endif
// QQMLPROFILERCLIENT_P_H
QQmlDebugClient
Definition
qqmldebugclient_p.h:27
QQmlDebugConnection
Definition
qqmldebugconnection_p.h:28
QQmlProfilerClient
Definition
qqmlprofilerclient_p.h:31
QQmlProfilerClient::setFlushInterval
void setFlushInterval(quint32 flushInterval)
Definition
qqmlprofilerclient.cpp:271
QQmlProfilerClient::recordedFeatures
quint64 recordedFeatures() const
Definition
qqmlprofilerclient.cpp:231
QQmlProfilerClient::isRecording
bool isRecording() const
Definition
qqmlprofilerclient.cpp:211
QQmlProfilerClient::traceFinished
void traceFinished(qint64 timestamp, const QList< int > &engineIds)
QQmlProfilerClient::setRequestedFeatures
void setRequestedFeatures(quint64 features)
Definition
qqmlprofilerclient.cpp:252
QQmlProfilerClient::clearEvents
void clearEvents()
Definition
qqmlprofilerclient.cpp:171
QQmlProfilerClient::cleared
void cleared()
QQmlProfilerClient::recordedFeaturesChanged
void recordedFeaturesChanged(quint64 features)
QQmlProfilerClient::traceStarted
void traceStarted(qint64 timestamp, const QList< int > &engineIds)
QQmlProfilerClient::clearAll
void clearAll()
Definition
qqmlprofilerclient.cpp:184
QQmlProfilerClient::messageReceived
virtual void messageReceived(const QByteArray &) override
Definition
qqmlprofilerclient.cpp:309
QQmlProfilerClient::recordingChanged
void recordingChanged(bool arg)
QQmlProfilerClient::QQmlProfilerClient
QQmlProfilerClient(QQmlProfilerClientPrivate &dd)
Definition
qqmlprofilerclient.cpp:277
QQmlProfilerClient::setRecording
void setRecording(bool)
Definition
qqmlprofilerclient.cpp:217
QQmlProfilerClient::onStateChanged
void onStateChanged(State status)
Definition
qqmlprofilerclient.cpp:298
QQmlProfilerClient::sendRecordingStatus
void sendRecordingStatus(int engineId=-1)
Definition
qqmlprofilerclient.cpp:205
QQmlProfilerClient::~QQmlProfilerClient
~QQmlProfilerClient()
Definition
qqmlprofilerclient.cpp:163
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
ProfileDebugMessages
@ ProfileDebugMessages
Definition
qqmlprofilerclientdefinitions_p.h:123
QQmlDebugContextInfo
Definition
qqmldebugmessageclient_p.h:24
qtdeclarative
src
qmldebug
qqmlprofilerclient_p.h
Generated on
for Qt by
1.18.0