The Pedigree Project 0.1
Classes | Public Member Functions | Private Member Functions | List of all members
DevicesCommand Class Reference

#include <DevicesCommand.h>

+ Inheritance diagram for DevicesCommand:
+ Collaboration diagram for DevicesCommand:

Classes

class  DeviceInfo
 
class  DeviceTree
 

Public Member Functions

 DevicesCommand ()
 
 ~DevicesCommand ()
 
void autocomplete (const HugeStaticString &input, HugeStaticString &output)
 
bool execute (const HugeStaticString &input, HugeStaticString &output, InterruptState &state, DebuggerIO *screen)
 
const NormalStaticString getString ()
 

Private Member Functions

void drawBackground (size_t nLines, DebuggerIO *pScreen)
 

Detailed Description

Allows the tracing of an execution path, single stepping and continuing to breakpoints, while displaying a disassembly, the target CPU state and a stack backtrace.

Definition at line 42 of file DevicesCommand.h.

Constructor & Destructor Documentation

◆ DevicesCommand()

DevicesCommand::DevicesCommand ( )

Default constructor - zero's stuff.

Definition at line 26 of file DevicesCommand.cc.

◆ ~DevicesCommand()

DevicesCommand::~DevicesCommand ( )

Default destructor - does nothing.

Definition at line 28 of file DevicesCommand.cc.

Member Function Documentation

◆ autocomplete()

void DevicesCommand::autocomplete ( const HugeStaticString &  input,
HugeStaticString &  output 
)
virtual

Return an autocomplete string, given an input string.

Implements DebuggerCommand.

Definition at line 30 of file DevicesCommand.cc.

◆ drawBackground()

void DevicesCommand::drawBackground ( size_t  nLines,
DebuggerIO *  pScreen 
)
private

Definition at line 106 of file DevicesCommand.cc.

◆ execute()

bool DevicesCommand::execute ( const HugeStaticString &  input,
HugeStaticString &  output,
InterruptState &  state,
DebuggerIO *  screen 
)
virtual

Execute the command with the given screen.

Implements DebuggerCommand.

Definition at line 32 of file DevicesCommand.cc.

References DebuggerIO::drawString(), DebuggerIO::enableCli(), DebuggerIO::enableRefreshes(), DebuggerIO::getChar(), and DebuggerIO::getWidth().

◆ getString()

const NormalStaticString DevicesCommand::getString ( )
inlinevirtual

Returns the string representation of this command.

Implements DebuggerCommand.

Definition at line 68 of file DevicesCommand.h.


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