Qt 4.8
Public Functions | Protected Functions | Protected Variables | List of all members
QScriptDebuggerJob Class Referenceabstract

#include <qscriptdebuggerjob_p.h>

Inheritance diagram for QScriptDebuggerJob:
QScriptDebuggerCommandSchedulerJob QScriptCompleteExpressionJob QScriptCompleteScriptsJob QScriptDebuggerConsoleCommandJob QScriptDebuggerShowLineJob QScriptToolTipJob QScriptDebuggerScriptedConsoleCommandJob

Public Functions

virtual void evaluateFinished (const QScriptDebuggerValue &result)
 
void finish ()
 
void hibernateUntilEvaluateFinished ()
 
 QScriptDebuggerJob ()
 
virtual void start ()=0
 
virtual ~QScriptDebuggerJob ()
 

Protected Functions

 QScriptDebuggerJob (QScriptDebuggerJobPrivate &dd)
 

Protected Variables

QScopedPointer< QScriptDebuggerJobPrivated_ptr
 

Detailed Description

Since
4.5
Warning
This function is not part of the public interface.
Note
The QScriptDebuggerJob class is the base class of debugger jobs.

Definition at line 65 of file qscriptdebuggerjob_p.h.

Constructors and Destructors

◆ QScriptDebuggerJob() [1/2]

QScriptDebuggerJob::QScriptDebuggerJob ( )

Definition at line 72 of file qscriptdebuggerjob.cpp.

74 {
75  d_ptr->q_ptr = this;
76  d_ptr->jobScheduler = 0;
77 }
QScriptDebuggerJobSchedulerInterface * jobScheduler
QScopedPointer< QScriptDebuggerJobPrivate > d_ptr

◆ ~QScriptDebuggerJob()

QScriptDebuggerJob::~QScriptDebuggerJob ( )
virtual

Definition at line 86 of file qscriptdebuggerjob.cpp.

87 {
88 }

◆ QScriptDebuggerJob() [2/2]

QScriptDebuggerJob::QScriptDebuggerJob ( QScriptDebuggerJobPrivate dd)
protected

Definition at line 79 of file qscriptdebuggerjob.cpp.

80  : d_ptr(&dd)
81 {
82  d_ptr->q_ptr = this;
83  d_ptr->jobScheduler = 0;
84 }
QScriptDebuggerJobSchedulerInterface * jobScheduler
QScopedPointer< QScriptDebuggerJobPrivate > d_ptr

Functions

◆ evaluateFinished()

void QScriptDebuggerJob::evaluateFinished ( const QScriptDebuggerValue result)
virtual

Definition at line 104 of file qscriptdebuggerjob.cpp.

Referenced by QScriptDebuggerPrivate::debuggerEvent().

105 {
106  Q_ASSERT_X(false, "QScriptDebuggerJob::evaluateFinished()",
107  "implement if hibernateUntilEvaluateFinished() is called");
108 }
#define Q_ASSERT_X(cond, where, what)
Definition: qglobal.h:1837

◆ finish()

void QScriptDebuggerJob::finish ( )

Definition at line 90 of file qscriptdebuggerjob.cpp.

Referenced by QScriptDebuggerScriptedConsoleCommandJob::handleResponse(), and QScriptDebuggerScriptedConsoleCommandJob::start().

91 {
93  Q_ASSERT(d->jobScheduler != 0);
94  d->jobScheduler->finishJob(this);
95 }
double d
Definition: qnumeric_p.h:62
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
#define Q_D(Class)
Definition: qglobal.h:2482

◆ hibernateUntilEvaluateFinished()

void QScriptDebuggerJob::hibernateUntilEvaluateFinished ( )

Definition at line 97 of file qscriptdebuggerjob.cpp.

98 {
100  Q_ASSERT(d->jobScheduler != 0);
101  d->jobScheduler->hibernateUntilEvaluateFinished(this);
102 }
double d
Definition: qnumeric_p.h:62
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
#define Q_D(Class)
Definition: qglobal.h:2482

◆ start()

virtual void QScriptDebuggerJob::start ( )
pure virtual

Properties

◆ d_ptr

QScopedPointer<QScriptDebuggerJobPrivate> QScriptDebuggerJob::d_ptr
protected

Definition at line 80 of file qscriptdebuggerjob_p.h.

Referenced by QScriptDebuggerJob().


The documentation for this class was generated from the following files: