Qt 4.8
|
The QScriptDebuggerFrontend class is the base class of debugger front-ends. More...
#include <qscriptdebuggerfrontend_p.h>
Public Functions | |
QScriptDebuggerEventHandlerInterface * | eventHandler () const |
QScriptDebuggerFrontend () | |
int | scheduleCommand (const QScriptDebuggerCommand &command, QScriptDebuggerResponseHandlerInterface *responseHandler) |
Schedules the given command for execution by this front-end, and returns a unique identifier associated with this command. More... | |
int | scheduledCommandCount () const |
void | setEventHandler (QScriptDebuggerEventHandlerInterface *eventHandler) |
virtual | ~QScriptDebuggerFrontend () |
Public Functions inherited from QScriptDebuggerCommandSchedulerInterface | |
virtual | ~QScriptDebuggerCommandSchedulerInterface () |
Protected Functions | |
void | notifyCommandFinished (int id, const QScriptDebuggerResponse &response) |
Subclasses should call this function when the command identified by the given id has finished and produced the given response. More... | |
bool | notifyEvent (const QScriptDebuggerEvent &event) |
Subclasses should call this function when the given event is received from the back-end. More... | |
virtual void | processCommand (int id, const QScriptDebuggerCommand &command)=0 |
Subclasses must reimplement this function to process the given command identified by id. More... | |
QScriptDebuggerFrontend (QScriptDebuggerFrontendPrivate &dd) | |
Protected Variables | |
QScopedPointer< QScriptDebuggerFrontendPrivate > | d_ptr |
The QScriptDebuggerFrontend class is the base class of debugger front-ends.
Definition at line 70 of file qscriptdebuggerfrontend_p.h.
QScriptDebuggerFrontend::QScriptDebuggerFrontend | ( | ) |
Definition at line 141 of file qscriptdebuggerfrontend.cpp.
|
virtual |
Definition at line 147 of file qscriptdebuggerfrontend.cpp.
|
protected |
Definition at line 151 of file qscriptdebuggerfrontend.cpp.
QScriptDebuggerEventHandlerInterface * QScriptDebuggerFrontend::eventHandler | ( | ) | const |
Definition at line 157 of file qscriptdebuggerfrontend.cpp.
Referenced by setEventHandler().
|
protected |
Subclasses should call this function when the command identified by the given id has finished and produced the given response.
Definition at line 200 of file qscriptdebuggerfrontend.cpp.
|
protected |
Subclasses should call this function when the given event is received from the back-end.
Definition at line 216 of file qscriptdebuggerfrontend.cpp.
|
protectedpure virtual |
Subclasses must reimplement this function to process the given command identified by id.
Call notifyCommandFinished() when processing is complete.
Implemented in QScriptEngineDebuggerFrontend.
|
virtual |
Schedules the given command for execution by this front-end, and returns a unique identifier associated with this command.
Subclasses can call this function to schedule custom commands.
Implements QScriptDebuggerCommandSchedulerInterface.
Definition at line 177 of file qscriptdebuggerfrontend.cpp.
Referenced by QScriptDebuggerPrivate::scheduleCommand().
int QScriptDebuggerFrontend::scheduledCommandCount | ( | ) | const |
Definition at line 224 of file qscriptdebuggerfrontend.cpp.
void QScriptDebuggerFrontend::setEventHandler | ( | QScriptDebuggerEventHandlerInterface * | eventHandler | ) |
Definition at line 163 of file qscriptdebuggerfrontend.cpp.
Referenced by QScriptDebugger::setFrontend().
|
protected |
Definition at line 93 of file qscriptdebuggerfrontend_p.h.
Referenced by QScriptDebuggerFrontend().