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
QQmlProfilerEvent Struct Reference

#include <qqmlprofilerevent_p.h>

+ Collaboration diagram for QQmlProfilerEvent:

Public Member Functions

 QQmlProfilerEvent ()
 
template<typename Number >
 QQmlProfilerEvent (qint64 timestamp, int typeIndex, std::initializer_list< Number > list)
 
 QQmlProfilerEvent (qint64 timestamp, int typeIndex, const QString &data)
 
template<typename Number >
 QQmlProfilerEvent (qint64 timestamp, int typeIndex, const QVector< Number > &data)
 
 QQmlProfilerEvent (const QQmlProfilerEvent &other)
 
 QQmlProfilerEvent (QQmlProfilerEvent &&other)
 
QQmlProfilerEventoperator= (const QQmlProfilerEvent &other)
 
QQmlProfilerEventoperator= (QQmlProfilerEvent &&other)
 
 ~QQmlProfilerEvent ()
 
qint64 timestamp () const
 
void setTimestamp (qint64 timestamp)
 
int typeIndex () const
 
void setTypeIndex (int typeIndex)
 
template<typename Number >
Number number (int i) const
 
template<typename Number >
void setNumber (int i, Number number)
 
template<typename Container , typename Number >
void setNumbers (const Container &numbers)
 
template<typename Number >
void setNumbers (std::initializer_list< Number > numbers)
 
template<typename Container , typename Number = qint64>
Container numbers () const
 
QString string () const
 
void setString (const QString &data)
 
Message rangeStage () const
 
void setRangeStage (Message stage)
 
bool isValid () const
 

Friends

QDataStreamoperator>> (QDataStream &stream, QQmlProfilerEvent &event)
 
QDataStreamoperator<< (QDataStream &stream, const QQmlProfilerEvent &event)
 

Detailed Description

Definition at line 31 of file qqmlprofilerevent_p.h.

Constructor & Destructor Documentation

◆ QQmlProfilerEvent() [1/6]

QQmlProfilerEvent::QQmlProfilerEvent ( )
inline

Definition at line 32 of file qqmlprofilerevent_p.h.

◆ QQmlProfilerEvent() [2/6]

template<typename Number >
QQmlProfilerEvent::QQmlProfilerEvent ( qint64 timestamp,
int typeIndex,
std::initializer_list< Number > list )
inline

Definition at line 37 of file qqmlprofilerevent_p.h.

References list.

◆ QQmlProfilerEvent() [3/6]

QQmlProfilerEvent::QQmlProfilerEvent ( qint64 timestamp,
int typeIndex,
const QString & data )
inline

Definition at line 43 of file qqmlprofilerevent_p.h.

◆ QQmlProfilerEvent() [4/6]

template<typename Number >
QQmlProfilerEvent::QQmlProfilerEvent ( qint64 timestamp,
int typeIndex,
const QVector< Number > & data )
inline

Definition at line 50 of file qqmlprofilerevent_p.h.

◆ QQmlProfilerEvent() [5/6]

QQmlProfilerEvent::QQmlProfilerEvent ( const QQmlProfilerEvent & other)
inline

Definition at line 56 of file qqmlprofilerevent_p.h.

References other().

+ Here is the call graph for this function:

◆ QQmlProfilerEvent() [6/6]

QQmlProfilerEvent::QQmlProfilerEvent ( QQmlProfilerEvent && other)
inline

Definition at line 63 of file qqmlprofilerevent_p.h.

References other().

+ Here is the call graph for this function:

◆ ~QQmlProfilerEvent()

QQmlProfilerEvent::~QQmlProfilerEvent ( )
inline

Definition at line 91 of file qqmlprofilerevent_p.h.

Member Function Documentation

◆ isValid()

bool QQmlProfilerEvent::isValid ( ) const
inline

Definition at line 202 of file qqmlprofilerevent_p.h.

◆ number()

template<typename Number >
Number QQmlProfilerEvent::number ( int i) const
inline

Definition at line 103 of file qqmlprofilerevent_p.h.

References i, qint8, QT_WARNING_DISABLE_GCC, QT_WARNING_POP, and QT_WARNING_PUSH.

◆ numbers()

template<typename Container , typename Number = qint64>
Container QQmlProfilerEvent::numbers ( ) const
inline

Definition at line 162 of file qqmlprofilerevent_p.h.

References i.

Referenced by setNumbers(), and setNumbers().

+ Here is the caller graph for this function:

◆ operator=() [1/2]

QQmlProfilerEvent & QQmlProfilerEvent::operator= ( const QQmlProfilerEvent & other)
inline

Definition at line 69 of file qqmlprofilerevent_p.h.

References other().

+ Here is the call graph for this function:

◆ operator=() [2/2]

QQmlProfilerEvent & QQmlProfilerEvent::operator= ( QQmlProfilerEvent && other)
inline

Definition at line 82 of file qqmlprofilerevent_p.h.

References other().

+ Here is the call graph for this function:

◆ rangeStage()

Message QQmlProfilerEvent::rangeStage ( ) const
inline

Definition at line 188 of file qqmlprofilerevent_p.h.

References Q_ASSERT.

Referenced by QQmlProfilerClientPrivate::processCurrentEvent().

+ Here is the caller graph for this function:

◆ setNumber()

template<typename Number >
void QQmlProfilerEvent::setNumber ( int i,
Number number )
inline

Definition at line 134 of file qqmlprofilerevent_p.h.

References i, and number.

◆ setNumbers() [1/2]

template<typename Container , typename Number >
void QQmlProfilerEvent::setNumbers ( const Container & numbers)
inline

Definition at line 149 of file qqmlprofilerevent_p.h.

References numbers().

+ Here is the call graph for this function:

◆ setNumbers() [2/2]

template<typename Number >
void QQmlProfilerEvent::setNumbers ( std::initializer_list< Number > numbers)
inline

Definition at line 156 of file qqmlprofilerevent_p.h.

References numbers().

+ Here is the call graph for this function:

◆ setRangeStage()

void QQmlProfilerEvent::setRangeStage ( Message stage)
inline

Definition at line 194 of file qqmlprofilerevent_p.h.

Referenced by QQmlProfilerClientPrivate::finalize().

+ Here is the caller graph for this function:

◆ setString()

void QQmlProfilerEvent::setString ( const QString & data)
inline

Definition at line 182 of file qqmlprofilerevent_p.h.

◆ setTimestamp()

void QQmlProfilerEvent::setTimestamp ( qint64 timestamp)
inline

Definition at line 97 of file qqmlprofilerevent_p.h.

References timestamp().

Referenced by QQmlProfilerClientPrivate::finalize().

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

◆ setTypeIndex()

void QQmlProfilerEvent::setTypeIndex ( int typeIndex)
inline

Definition at line 100 of file qqmlprofilerevent_p.h.

References typeIndex().

Referenced by QQmlProfilerClientPrivate::processCurrentEvent().

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

◆ string()

QString QQmlProfilerEvent::string ( ) const
inline

Definition at line 170 of file qqmlprofilerevent_p.h.

References QString::fromUtf8().

+ Here is the call graph for this function:

◆ timestamp()

qint64 QQmlProfilerEvent::timestamp ( ) const
inline

Definition at line 96 of file qqmlprofilerevent_p.h.

Referenced by QQmlProfilerClientPrivate::forwardEvents(), QQmlProfilerClientPrivate::resolveStackTop(), and setTimestamp().

+ Here is the caller graph for this function:

◆ typeIndex()

int QQmlProfilerEvent::typeIndex ( ) const
inline

Definition at line 99 of file qqmlprofilerevent_p.h.

Referenced by QQmlProfilerClientPrivate::resolveStackTop(), and setTypeIndex().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator<<

QDataStream & operator<< ( QDataStream & stream,
const QQmlProfilerEvent & event )
friend

Definition at line 203 of file qqmlprofilerevent.cpp.

◆ operator>>

QDataStream & operator>> ( QDataStream & stream,
QQmlProfilerEvent & event )
friend

Definition at line 74 of file qqmlprofilerevent.cpp.

Member Data Documentation

◆ external

void* QQmlProfilerEvent::external

Definition at line 224 of file qqmlprofilerevent_p.h.

◆ internal16bit

qint16 QQmlProfilerEvent::internal16bit[s_internalDataLength/2]

Definition at line 227 of file qqmlprofilerevent_p.h.

◆ internal32bit

qint32 QQmlProfilerEvent::internal32bit[s_internalDataLength/4]

Definition at line 228 of file qqmlprofilerevent_p.h.

◆ internal64bit

qint64 QQmlProfilerEvent::internal64bit[s_internalDataLength/8]

Definition at line 229 of file qqmlprofilerevent_p.h.

◆ internal8bit

qint8 QQmlProfilerEvent::internal8bit[s_internalDataLength]

Definition at line 226 of file qqmlprofilerevent_p.h.

◆ internalChar

char QQmlProfilerEvent::internalChar[s_internalDataLength]

Definition at line 225 of file qqmlprofilerevent_p.h.


The documentation for this struct was generated from the following file: