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

(05f1bad85561dc77d7e08599b8119920ad62d6a1)

#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 30 of file qqmlnativedebugconnector.cpp.

◆ TRACE_PROTOCOL

#define TRACE_PROTOCOL ( s)

Definition at line 20 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 138 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 108 of file qqmlnativedebugconnector.cpp.

◆ qt_qmlDebugEnableService()

QML_DEBUG_EXPORT bool qt_qmlDebugEnableService ( const char * data)

Definition at line 91 of file qqmlnativedebugconnector.cpp.

◆ qt_qmlDebugMessageAvailable()

QML_DEBUG_EXPORT void qt_qmlDebugMessageAvailable ( )

Definition at line 51 of file qqmlnativedebugconnector.cpp.

◆ qt_qmlDebugObjectAvailable()

QML_DEBUG_EXPORT void qt_qmlDebugObjectAvailable ( )

Definition at line 58 of file qqmlnativedebugconnector.cpp.

◆ qt_qmlDebugSendDataToService()

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

Definition at line 70 of file qqmlnativedebugconnector.cpp.

References expectSyncronousResponse.

◆ qt_qmlDebugSetStreamVersion()

QML_DEBUG_EXPORT void qt_qmlDebugSetStreamVersion ( int version)

Definition at line 44 of file qqmlnativedebugconnector.cpp.

Variable Documentation

◆ expectSyncronousResponse

QT_USE_NAMESPACE bool expectSyncronousResponse = false
static

Definition at line 24 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 35 of file qqmlnativedebugconnector.cpp.

Referenced by qt_qmlDebugClearBuffer().

◆ qt_qmlDebugMessageLength

QML_DEBUG_EXPORT int qt_qmlDebugMessageLength

Definition at line 36 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 125 of file qqmlnativedebugconnector.cpp.