KDevelop API Documentation

GDBDebugger::DbgCommand Class Reference

#include <dbgcommand.h>

Inheritance diagram for GDBDebugger::DbgCommand:

GDBDebugger::GDBCommand GDBDebugger::GDBItemCommand GDBDebugger::GDBSetBreakpointCommand GDBDebugger::GDBPointerCommand List of all members.

Public Member Functions

 DbgCommand (const QCString &command, bool isRunCmd, bool isInfoCmd, char prompt)
virtual ~DbgCommand ()
virtual QCStringcmdToSend ()
virtual int cmdLength ()
QCString rawDbgCommand () const
bool isARunCmd () const
bool isAnInfoCmd () const
bool moreToSend () const
bool expectReply () const
bool typeMatch (char cmdType) const

Protected Attributes

QCString cmdBuffer_
QCString command_
bool isRunCmd_
bool isInfoCmd_
bool sent_
bool waitForReply_
char prompt_

Constructor & Destructor Documentation

GDBDebugger::DbgCommand::DbgCommand const QCString command,
bool  isRunCmd,
bool  isInfoCmd,
char  prompt
 

Definition at line 27 of file dbgcommand.cpp.

References cmdBuffer_, and command_.

virtual GDBDebugger::DbgCommand::~DbgCommand  )  [inline, virtual]
 

Definition at line 32 of file dbgcommand.h.


Member Function Documentation

virtual int GDBDebugger::DbgCommand::cmdLength  )  [inline, virtual]
 

Definition at line 35 of file dbgcommand.h.

References cmdBuffer_.

Referenced by GDBDebugger::GDBController::executeCmd().

virtual QCString& GDBDebugger::DbgCommand::cmdToSend  )  [inline, virtual]
 

Definition at line 34 of file dbgcommand.h.

References cmdBuffer_, and sent_.

Referenced by GDBDebugger::GDBController::executeCmd().

bool GDBDebugger::DbgCommand::expectReply  )  const [inline]
 

Definition at line 41 of file dbgcommand.h.

References waitForReply_.

Referenced by GDBDebugger::GDBController::executeCmd().

bool GDBDebugger::DbgCommand::isAnInfoCmd  )  const [inline]
 

Definition at line 39 of file dbgcommand.h.

References isInfoCmd_.

Referenced by GDBDebugger::GDBController::pauseApp(), and GDBDebugger::GDBController::removeInfoRequests().

bool GDBDebugger::DbgCommand::isARunCmd  )  const [inline]
 

Definition at line 38 of file dbgcommand.h.

References isRunCmd_.

Referenced by GDBDebugger::GDBController::executeCmd(), GDBDebugger::GDBController::pauseApp(), GDBDebugger::GDBController::queueCmd(), and GDBDebugger::GDBController::removeInfoRequests().

bool GDBDebugger::DbgCommand::moreToSend  )  const [inline]
 

Definition at line 40 of file dbgcommand.h.

References sent_.

Referenced by GDBDebugger::GDBController::executeCmd().

QCString GDBDebugger::DbgCommand::rawDbgCommand  )  const [inline]
 

Definition at line 37 of file dbgcommand.h.

References command_.

Referenced by GDBDebugger::GDBController::parseLine().

bool GDBDebugger::DbgCommand::typeMatch char  cmdType  )  const [inline]
 

Definition at line 42 of file dbgcommand.h.

References prompt_, and typeMatch().

Referenced by GDBDebugger::GDBController::parseCmdBlock(), and typeMatch().


Member Data Documentation

QCString GDBDebugger::DbgCommand::cmdBuffer_ [protected]
 

Definition at line 45 of file dbgcommand.h.

Referenced by cmdLength(), cmdToSend(), and DbgCommand().

QCString GDBDebugger::DbgCommand::command_ [protected]
 

Definition at line 46 of file dbgcommand.h.

Referenced by DbgCommand(), and rawDbgCommand().

bool GDBDebugger::DbgCommand::isInfoCmd_ [protected]
 

Definition at line 48 of file dbgcommand.h.

Referenced by isAnInfoCmd().

bool GDBDebugger::DbgCommand::isRunCmd_ [protected]
 

Definition at line 47 of file dbgcommand.h.

Referenced by isARunCmd().

char GDBDebugger::DbgCommand::prompt_ [protected]
 

Definition at line 51 of file dbgcommand.h.

Referenced by typeMatch().

bool GDBDebugger::DbgCommand::sent_ [protected]
 

Definition at line 49 of file dbgcommand.h.

Referenced by cmdToSend(), and moreToSend().

bool GDBDebugger::DbgCommand::waitForReply_ [protected]
 

Definition at line 50 of file dbgcommand.h.

Referenced by expectReply().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:08 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003