|
The Pedigree Project 0.1
|
#include <ThreadsCommand.h>
Inheritance diagram for ThreadsCommand:
Collaboration diagram for ThreadsCommand:Public Member Functions | |
| ThreadsCommand () | |
| ~ThreadsCommand () | |
| void | autocomplete (const HugeStaticString &input, HugeStaticString &output) |
| bool | execute (const HugeStaticString &input, HugeStaticString &output, InterruptState &state, DebuggerIO *screen) |
| const NormalStaticString | getString () |
| void | setPointers (Thread **ppThread, InterruptState *pState) |
| virtual const char * | getLine1 (size_t index, DebuggerIO::Colour &colour, DebuggerIO::Colour &bgColour) |
| virtual const char * | getLine2 (size_t index, size_t &colOffset, DebuggerIO::Colour &colour, DebuggerIO::Colour &bgColour) |
| virtual size_t | getLineCount () |
Public Member Functions inherited from Scrollable | |
| void | move (size_t x, size_t y) |
| void | resize (size_t width, size_t height) |
| void | scroll (ssize_t lines) |
| void | scrollTo (size_t absolute) |
| void | scrollHorizontal (ssize_t columns) |
| void | horizontalScrollTo (size_t absolute) |
| void | refresh (DebuggerIO *pScreen) |
| void | setScrollKeys (char up, char down) |
| ssize_t | getLine () |
| void | centreOn (size_t line) |
| size_t | height () const |
| size_t | width () const |
| virtual size_t | getContentWidth () |
Private Member Functions | |
| bool | swapThread (InterruptState &state, DebuggerIO *pScreen) |
Private Attributes | |
| size_t | m_SelectedLine |
| size_t | m_nLines |
Additional Inherited Members | |
Protected Attributes inherited from Scrollable | |
| size_t | m_x |
| size_t | m_y |
| size_t | m_width |
| size_t | m_height |
| ssize_t | m_line |
| size_t | m_column |
| char | m_ScrollUp |
| char | m_ScrollDown |
Allows step execution.
Definition at line 41 of file ThreadsCommand.h.
| ThreadsCommand::ThreadsCommand | ( | ) |
Default constructor - zero's stuff.
Definition at line 38 of file ThreadsCommand.cc.
| ThreadsCommand::~ThreadsCommand | ( | ) |
Default destructor - does nothing.
Definition at line 41 of file ThreadsCommand.cc.
|
virtual |
Return an autocomplete string, given an input string.
Implements DebuggerCommand.
Definition at line 125 of file ThreadsCommand.cc.
|
virtual |
Execute the command with the given screen.
Implements DebuggerCommand.
Definition at line 127 of file ThreadsCommand.cc.
References Scheduler::acquireProcess(), DebuggerIO::drawHorizontalLine(), DebuggerIO::drawString(), DebuggerIO::enableCli(), DebuggerIO::getChar(), Scheduler::getNumProcesses(), Process::getNumThreads(), DebuggerIO::getWidth(), and Scheduler::instance().
|
virtual |
Implements Scrollable.
Definition at line 226 of file ThreadsCommand.cc.
|
virtual |
Implements Scrollable.
Definition at line 259 of file ThreadsCommand.cc.
|
virtual |
Implements Scrollable.
Definition at line 392 of file ThreadsCommand.cc.
|
inlinevirtual |
Returns the string representation of this command.
Implements DebuggerCommand.
Definition at line 67 of file ThreadsCommand.h.
|
inline |
Sets the pointers to use to change the thread the debugger debugs.
Definition at line 72 of file ThreadsCommand.h.
Referenced by Debugger::start().
Here is the caller graph for this function:
|
private |
Definition at line 396 of file ThreadsCommand.cc.
|
private |
Definition at line 89 of file ThreadsCommand.h.
|
private |
Definition at line 88 of file ThreadsCommand.h.