![]() |
KoMo2
1.0.0
A modern ARM emulator GUI.
|
A single instance of this class represents a single read memory address and the associated data - this is shown as a single row in the disassembly window. More...
#include <DisassemblyView.h>
Public Member Functions | |
| DisassemblyRows () | |
| Construct a new DisassemblyRows::DisassemblyRows object. | |
| void | setBreakpoint (const bool text) |
| Set the state of the breakpoint button. This is a little unusual - it sets the state in terms of CSS state, making the button appear either toggled or un-toggled. More... | |
| void | setAddress (const std::string text) |
| Set the text of the address label. More... | |
| void | setHex (const std::string text) |
| Set the text of the hex label. More... | |
| void | setDisassembly (const std::string text) |
| Set the text of disassembly label. More... | |
| void | setAddressVal (const uint32_t val) |
| Set the value of addressVal member. More... | |
| void | setModel (DisassemblyModel *const val) |
| Sets the value of the model pointer. More... | |
| Gtk::ToggleButton *const | getButton () |
| Gets a constant pointer to the breakpoint button member. More... | |
| const uint32_t | getAddressVal () const |
| Get the addressVal member. More... | |
| const bool | getBreakpoint () |
| Returns if a breakpoint is set or not. More... | |
| const std::string | getDisassembly () |
| Gets the disassembly text for the breakpoint row. More... | |
| const std::string | getAddress () const |
| Get the text in the address box. More... | |
Private Member Functions | |
| void | initBreakpoint () |
| Initialises the breakpoint button. | |
| void | initAddress () |
| Initialises the address label. | |
| void | initHex () |
| Initialises the hex label. | |
| void | initDisassembly () |
| Initialises the disassembly label. | |
| DisassemblyRows (const DisassemblyRows &)=delete | |
| DisassemblyRows (const DisassemblyRows &&)=delete | |
| DisassemblyRows & | operator= (const DisassemblyRows &)=delete |
| DisassemblyRows & | operator= (const DisassemblyRows &&)=delete |
Private Attributes | |
| Gtk::HBox | buttonSizer |
| Setting exact size of widgets is hard; this container is needed to set the size of the button. | |
| Gtk::ToggleButton | breakpoint |
| The debugging breakpoint button. | |
| Gtk::Label | address |
| Displays the address of the current memory value. | |
| Gtk::Label | hex |
| Displays the current hexadecimal value of the memory. | |
| Gtk::Label | disassembly |
| Displays the current disassembly value of the memory. | |
| uint32_t | addressVal |
| The address pointed to, as an integer. | |
| DisassemblyModel * | model |
| A pointer to the model. | |
A single instance of this class represents a single read memory address and the associated data - this is shown as a single row in the disassembly window.
Definition at line 28 of file DisassemblyView.h.
| const std::string DisassemblyRows::getAddress | ( | ) | const |
Get the text in the address box.
Definition at line 198 of file DisassemblyView.cpp.
| const uint32_t DisassemblyRows::getAddressVal | ( | ) | const |
Get the addressVal member.
Definition at line 205 of file DisassemblyView.cpp.
| const bool DisassemblyRows::getBreakpoint | ( | ) |
Returns if a breakpoint is set or not.
Definition at line 220 of file DisassemblyView.cpp.
| Gtk::ToggleButton *const DisassemblyRows::getButton | ( | ) |
Gets a constant pointer to the breakpoint button member.
Definition at line 184 of file DisassemblyView.cpp.
| const std::string DisassemblyRows::getDisassembly | ( | ) |
Gets the disassembly text for the breakpoint row.
Definition at line 228 of file DisassemblyView.cpp.
| void DisassemblyRows::setAddress | ( | const std::string | text | ) |
Set the text of the address label.
| text | The text to set the label to. |
Definition at line 162 of file DisassemblyView.cpp.
| void DisassemblyRows::setAddressVal | ( | const uint32_t | val | ) |
Set the value of addressVal member.
| val | The value to set it to. |
Definition at line 212 of file DisassemblyView.cpp.
| void DisassemblyRows::setBreakpoint | ( | const bool | state | ) |
Set the state of the breakpoint button. This is a little unusual - it sets the state in terms of CSS state, making the button appear either toggled or un-toggled.
| state | The state to set the breakpoint to. |
Definition at line 151 of file DisassemblyView.cpp.
| void DisassemblyRows::setDisassembly | ( | const std::string | text | ) |
Set the text of disassembly label.
| text | The text to set the disassembly label to. |
Definition at line 176 of file DisassemblyView.cpp.
| void DisassemblyRows::setHex | ( | const std::string | text | ) |
Set the text of the hex label.
| text | The text to set the hex label to. |
Definition at line 169 of file DisassemblyView.cpp.
| void DisassemblyRows::setModel | ( | DisassemblyModel *const | val | ) |
Sets the value of the model pointer.
| val | The value to set the model pointer to. |
Definition at line 191 of file DisassemblyView.cpp.
1.8.11