|
The Pedigree Project 0.1
|
Inheritance diagram for ModulesCommand:
Collaboration diagram for ModulesCommand:Public Member Functions | |
| void | autocomplete (const HugeStaticString &input, HugeStaticString &output) |
| bool | execute (const HugeStaticString &input, HugeStaticString &output, InterruptState &state, DebuggerIO *screen) |
| const NormalStaticString | getString () |
| const char * | getLine1 (size_t index, DebuggerIO::Colour &colour, DebuggerIO::Colour &bgColour) |
| const char * | getLine2 (size_t index, size_t &colOffset, DebuggerIO::Colour &colour, DebuggerIO::Colour &bgColour) |
| 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 Attributes | |
| LargeStaticString | m_Line |
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 |
Definition at line 26 of file ModulesCommand.h.
| ModulesCommand::ModulesCommand | ( | ) |
Definition at line 50 of file ModulesCommand.cc.
| ModulesCommand::~ModulesCommand | ( | ) |
Definition at line 52 of file ModulesCommand.cc.
|
virtual |
Return an autocomplete string, given an input string. The string put into *output must not exceed len in length.
Implements DebuggerCommand.
Definition at line 54 of file ModulesCommand.cc.
|
virtual |
Execute the command with the given screen. The command can take over the screen while executing, but must return it to CLI mode (via enableCLI) before returning.
Implements DebuggerCommand.
Definition at line 56 of file ModulesCommand.cc.
References DebuggerIO::drawHorizontalLine(), DebuggerIO::drawString(), DebuggerIO::enableCli(), DebuggerIO::getChar(), and DebuggerIO::getWidth().
|
virtual |
Implements Scrollable.
Definition at line 98 of file ModulesCommand.cc.
|
virtual |
Implements Scrollable.
Definition at line 125 of file ModulesCommand.cc.
|
virtual |
Implements Scrollable.
Definition at line 133 of file ModulesCommand.cc.
|
virtual |
Returns the string representation of this command.
Implements DebuggerCommand.
Definition at line 94 of file ModulesCommand.cc.
|
private |
Definition at line 42 of file ModulesCommand.h.