The Pedigree Project  0.1
Public Member Functions | List of all members
PanicCommand Class Reference

#include <PanicCommand.h>

+ Inheritance diagram for PanicCommand:
+ Collaboration diagram for PanicCommand:

Public Member Functions

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

Detailed Description

Debugger command that permits a kernel panic to be emulated

Definition at line 36 of file PanicCommand.h.

Constructor & Destructor Documentation

PanicCommand::PanicCommand ( )

Default constructor - zero's stuff.

Definition at line 25 of file PanicCommand.cc.

PanicCommand::~PanicCommand ( )

Default destructor - does nothing.

Definition at line 29 of file PanicCommand.cc.

Member Function Documentation

void PanicCommand::autocomplete ( const HugeStaticString input,
HugeStaticString output 
)
virtual

Return an autocomplete string, given an input string.

Implements DebuggerCommand.

Definition at line 33 of file PanicCommand.cc.

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

Execute the command with the given screen.

Implements DebuggerCommand.

Definition at line 38 of file PanicCommand.cc.

References panic().

const NormalStaticString PanicCommand::getString ( )
inlinevirtual

Returns the string representation of this command.

Implements DebuggerCommand.

Definition at line 64 of file PanicCommand.h.


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