#include <rawcode.hh>
Inheritance diagram for emuWorks::RawCode:
Definition at line 32 of file rawcode.hh.
Public Member Functions | |
virtual | ~RawCode () |
Virtual destructor for RawCode derivatives. | |
virtual int | getAddress () const |
Gets the address of this RawCode. | |
virtual void | setAddress (int address)=0 |
Sets the address of this RawCode. | |
virtual int | getValue () const |
Gets the value of this RawCode. | |
virtual void | setValue (int value)=0 |
Sets the value of this RawCode. | |
Protected Attributes | |
int | address |
int | value |
emuWorks::RawCode::~RawCode | ( | ) | [inline, virtual] |
int emuWorks::RawCode::getAddress | ( | ) | const [inline, virtual] |
int emuWorks::RawCode::getValue | ( | ) | const [inline, virtual] |
virtual void emuWorks::RawCode::setAddress | ( | int | address | ) | [pure virtual] |
Sets the address of this RawCode.
address | The new address. |
Implemented in emuWorks::GBGGRawCode, emuWorks::GenesisRawCode, emuWorks::NESRawCode, and emuWorks::SNESRawCode.
virtual void emuWorks::RawCode::setValue | ( | int | value | ) | [pure virtual] |
Sets the value of this RawCode.
value | The new value. |
Implemented in emuWorks::GBGGRawCode, emuWorks::GenesisRawCode, emuWorks::NESRawCode, and emuWorks::SNESRawCode.
int emuWorks::RawCode::address [protected] |
Definition at line 34 of file rawcode.hh.
int emuWorks::RawCode::value [protected] |
Definition at line 35 of file rawcode.hh.