#include <gbggrawcode.hh>
Inheritance diagram for emuWorks::GBGGRawCode:
Definition at line 35 of file gbggrawcode.hh.
Public Member Functions | |
GBGGRawCode (int address, int value, int compare) | |
Constructor for a GBGGRawCode with a compare value. | |
GBGGRawCode (int address, int value) | |
Constructor for a GBGGRawCode with no compare value. | |
void | setAddress (int address) |
Sets the address of this RawCode. | |
void | setValue (int value) |
Sets the value of this RawCode. | |
virtual int | getAddress () |
Gets the address of this RawCode. | |
virtual int | getValue () |
Gets the value of this RawCode. | |
bool | hasCompare () |
Checks if this CompareRawCode uses a compare value. | |
int | getCompare () |
Gets the compare value of this CompareRawCode. | |
void | setCompare (int compare) |
Sets the compare value of this CompareRawCode. | |
Protected Attributes | |
int | address |
int | value |
int | compare |
|
Constructor for a GBGGRawCode with a compare value.
Definition at line 29 of file gbggrawcode.cc. |
|
Constructor for a GBGGRawCode with no compare value.
Definition at line 35 of file gbggrawcode.cc. |
|
Gets the address of this RawCode.
Definition at line 39 of file rawcode.hh. |
|
Gets the compare value of this CompareRawCode.
Definition at line 46 of file comparerawcode.hh. |
|
Gets the value of this RawCode.
Definition at line 53 of file rawcode.hh. |
|
Checks if this CompareRawCode uses a compare value.
Definition at line 39 of file comparerawcode.hh. |
|
Sets the address of this RawCode.
Implements emuWorks::RawCode. Definition at line 42 of file gbggrawcode.cc. |
|
Sets the compare value of this CompareRawCode.
Definition at line 53 of file comparerawcode.hh. |
|
Sets the value of this RawCode.
Implements emuWorks::RawCode. Definition at line 46 of file gbggrawcode.cc. |
|
Definition at line 62 of file rawcode.hh. |
|
Definition at line 55 of file comparerawcode.hh. |
|
Definition at line 63 of file rawcode.hh. |