Canola
0.8.D001
|
#include <debugger.h>
Public Types | |
typedef boost::shared_ptr < debugger > | pointer |
Public Member Functions | |
virtual | ~debugger () |
virtual void | display_x_register (const number &value)=0 |
virtual void | display_y_register (const number &value)=0 |
virtual void | display_memory (int n, const number &value)=0 |
virtual void | display_address (int addr)=0 |
virtual void | display_opcode (opcode_t op)=0 |
virtual void | display_location (const location::pointer &where)=0 |
virtual void | display_mstate (const char *text)=0 |
Protected Member Functions | |
debugger () | |
Private Member Functions | |
debugger (const debugger &rhs) | |
debugger & | operator= (const debugger &rhs) |
The debugger class is used to represent the state of an object being used to debug the inner workings of the calculator.
Definition at line 32 of file debugger.h.
typedef boost::shared_ptr<debugger> debugger::pointer |
Definition at line 35 of file debugger.h.
debugger::~debugger | ( | ) | [virtual] |
The destructor.
Definition at line 21 of file debugger.cc.
debugger::debugger | ( | ) | [protected] |
The default constructor. For use by derived classes only.
Definition at line 26 of file debugger.cc.
debugger::debugger | ( | const debugger & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
virtual void debugger::display_address | ( | int | addr | ) | [pure virtual] |
The display_address method is used to update the displayed value of the address of the next opcode to be executed.
Implemented in debugger_gnome.
virtual void debugger::display_location | ( | const location::pointer & | where | ) | [pure virtual] |
The display_location method is used to update the displayed value of the source code text, highlighting the section that is the token for the next opcode to be executed.
Implemented in debugger_gnome.
virtual void debugger::display_memory | ( | int | n, |
const number & | value | ||
) | [pure virtual] |
The display_memory method is used to update the displayed value of the memory specified.
n | which memory is being updated (1..14) |
value | the value of the specified memory location |
Implemented in debugger_gnome.
virtual void debugger::display_mstate | ( | const char * | text | ) | [pure virtual] |
Implemented in debugger_gnome.
virtual void debugger::display_opcode | ( | opcode_t | op | ) | [pure virtual] |
The display_opcode method is used to update the displayed value of the next opcode to be executed.
Implemented in debugger_gnome.
virtual void debugger::display_x_register | ( | const number & | value | ) | [pure virtual] |
The display_x_register method is used to update the displayed value of the X register.
Implemented in debugger_gnome.
virtual void debugger::display_y_register | ( | const number & | value | ) | [pure virtual] |
The display_y_register method is used to update the displayed value of the Y register.
Implemented in debugger_gnome.
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |