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
qqmlnativedebugconnector.cpp File Reference

(d8a55297c25ff01ffe371bf83631a69db0f521d8)

#include "qqmlnativedebugconnector.h"
#include <private/qhooks_p.h>
#include <private/qversionedpacket_p.h>
#include <QtQml/qjsengine.h>
#include <QtCore/qdebug.h>
#include <QtCore/qjsonarray.h>
#include <QtCore/qjsondocument.h>
#include <QtCore/qjsonobject.h>
#include <QtCore/qjsonvalue.h>
#include <QtCore/qpointer.h>
#include <QtCore/qvector.h>
#include "moc_qqmlnativedebugconnector.cpp"
Include dependency graph for qqmlnativedebugconnector.cpp:

Go to the source code of this file.

Macros

#define TRACE_PROTOCOL(s)
#define QML_DEBUG_EXPORT

Functions

QML_DEBUG_EXPORT void qt_qmlDebugConnectorOpen ()
QML_DEBUG_EXPORT void qt_qmlDebugSetStreamVersion (int version)
QML_DEBUG_EXPORT void qt_qmlDebugMessageAvailable ()
QML_DEBUG_EXPORT void qt_qmlDebugObjectAvailable ()
QML_DEBUG_EXPORT void qt_qmlDebugClearBuffer ()
QML_DEBUG_EXPORT bool qt_qmlDebugSendDataToService (const char *serviceName, const char *hexData)
QML_DEBUG_EXPORT bool qt_qmlDebugEnableService (const char *data)
QML_DEBUG_EXPORT bool qt_qmlDebugDisableService (const char *data)

Variables

static QT_USE_NAMESPACE bool expectSyncronousResponse = false
QML_DEBUG_EXPORT const char * qt_qmlDebugMessageBuffer
QML_DEBUG_EXPORT int qt_qmlDebugMessageLength
QML_DEBUG_EXPORT bool qt_qmlDebugConnectionBlocker
quintptr qt_qmlDebugTestHooks []

Macro Definition Documentation

◆ QML_DEBUG_EXPORT

#define QML_DEBUG_EXPORT

Definition at line 29 of file qqmlnativedebugconnector.cpp.

◆ TRACE_PROTOCOL

#define TRACE_PROTOCOL ( s)

Definition at line 19 of file qqmlnativedebugconnector.cpp.

Function Documentation

◆ qt_qmlDebugClearBuffer()

QML_DEBUG_EXPORT void qt_qmlDebugClearBuffer ( )

◆ qt_qmlDebugConnectorOpen()

QML_DEBUG_EXPORT void qt_qmlDebugConnectorOpen ( )

Definition at line 137 of file qqmlnativedebugconnector.cpp.

References qt_qmlDebugConnectionBlocker.

Referenced by QQmlNativeDebugConnector::open().

Here is the caller graph for this function:

◆ qt_qmlDebugDisableService()

QML_DEBUG_EXPORT bool qt_qmlDebugDisableService ( const char * data)

Definition at line 107 of file qqmlnativedebugconnector.cpp.

◆ qt_qmlDebugEnableService()

QML_DEBUG_EXPORT bool qt_qmlDebugEnableService ( const char * data)

Definition at line 90 of file qqmlnativedebugconnector.cpp.

◆ qt_qmlDebugMessageAvailable()

QML_DEBUG_EXPORT void qt_qmlDebugMessageAvailable ( )

Definition at line 50 of file qqmlnativedebugconnector.cpp.

◆ qt_qmlDebugObjectAvailable()

QML_DEBUG_EXPORT void qt_qmlDebugObjectAvailable ( )

Definition at line 57 of file qqmlnativedebugconnector.cpp.

◆ qt_qmlDebugSendDataToService()

QML_DEBUG_EXPORT bool qt_qmlDebugSendDataToService ( const char * serviceName,
const char * hexData )

Definition at line 69 of file qqmlnativedebugconnector.cpp.

References expectSyncronousResponse.

◆ qt_qmlDebugSetStreamVersion()

QML_DEBUG_EXPORT void qt_qmlDebugSetStreamVersion ( int version)

Definition at line 43 of file qqmlnativedebugconnector.cpp.

Variable Documentation

◆ expectSyncronousResponse

QT_USE_NAMESPACE bool expectSyncronousResponse = false
static

Definition at line 23 of file qqmlnativedebugconnector.cpp.

Referenced by qt_qmlDebugSendDataToService().

◆ qt_qmlDebugConnectionBlocker

QML_DEBUG_EXPORT bool qt_qmlDebugConnectionBlocker

◆ qt_qmlDebugMessageBuffer

QML_DEBUG_EXPORT const char * qt_qmlDebugMessageBuffer

Definition at line 34 of file qqmlnativedebugconnector.cpp.

Referenced by qt_qmlDebugClearBuffer().

◆ qt_qmlDebugMessageLength

QML_DEBUG_EXPORT int qt_qmlDebugMessageLength

Definition at line 35 of file qqmlnativedebugconnector.cpp.

Referenced by qt_qmlDebugClearBuffer().

◆ qt_qmlDebugTestHooks

quintptr qt_qmlDebugTestHooks
Initial value:
= {
quintptr(1),
quintptr(6),
}
QML_DEBUG_EXPORT const char * qt_qmlDebugMessageBuffer
QML_DEBUG_EXPORT void qt_qmlDebugClearBuffer()
QML_DEBUG_EXPORT int qt_qmlDebugMessageLength
QML_DEBUG_EXPORT bool qt_qmlDebugSendDataToService(const char *serviceName, const char *hexData)
QML_DEBUG_EXPORT void qt_qmlDebugObjectAvailable()
QML_DEBUG_EXPORT bool qt_qmlDebugDisableService(const char *data)
QML_DEBUG_EXPORT bool qt_qmlDebugEnableService(const char *data)
size_t quintptr
Definition qtypes.h:185

Definition at line 124 of file qqmlnativedebugconnector.cpp.