OpenASIP 2.2
|
#include <RFPortImplementationDialog.hh>
Public Member Functions | |
RFPortImplementationDialog (wxWindow *parent, wxWindowID id, HDB::RFPortImplementation &implementation) | |
virtual | ~RFPortImplementationDialog () |
Private Types | |
enum | { ID_LABEL_NAME = 10000 , ID_NAME , ID_LABEL_LOAD_PORT , ID_LOAD_PORT , ID_LABEL_OPCODE_PORT , ID_OPCODE_PORT , ID_LABEL_OPCODE_PORT_WIDTH , ID_OPCODE_PORT_WIDTH , ID_DIRECTION , ID_LINE } |
Enumerated IDs for dialog widgets. More... | |
Private Member Functions | |
void | onOK (wxCommandEvent &event) |
wxSizer * | createContents (wxWindow *parent, bool call_fit, bool set_sizer) |
Creates the dialog contents. | |
Private Attributes | |
HDB::RFPortImplementation & | port_ |
FU port implementation to modify. | |
wxString | name_ |
wxString | loadPort_ |
wxString | opcodePort_ |
wxString | opcodePortWidth_ |
int | direction_ |
Dialog for editing register file port implementations.
Definition at line 45 of file RFPortImplementationDialog.hh.
|
private |
Enumerated IDs for dialog widgets.
Enumerator | |
---|---|
ID_LABEL_NAME | |
ID_NAME | |
ID_LABEL_LOAD_PORT | |
ID_LOAD_PORT | |
ID_LABEL_OPCODE_PORT | |
ID_OPCODE_PORT | |
ID_LABEL_OPCODE_PORT_WIDTH | |
ID_OPCODE_PORT_WIDTH | |
ID_DIRECTION | |
ID_LINE |
Definition at line 57 of file RFPortImplementationDialog.hh.
RFPortImplementationDialog::RFPortImplementationDialog | ( | wxWindow * | parent, |
wxWindowID | id, | ||
HDB::RFPortImplementation & | implementation | ||
) |
The Constructor.
parent | Parent window of the dialog. |
id | Window identifier for the dialog window. |
port | RF port implementation to modify. |
Definition at line 53 of file RFPortImplementationDialog.cc.
References WxConversion::toWxString().
|
virtual |
|
private |
Creates the dialog contents.
Creates the dialog contents.
Definition at line 128 of file RFPortImplementationDialog.cc.
References ID_DIRECTION, ID_LABEL_LOAD_PORT, ID_LABEL_NAME, ID_LABEL_OPCODE_PORT, ID_LABEL_OPCODE_PORT_WIDTH, ID_LINE, ID_LOAD_PORT, ID_NAME, ID_OPCODE_PORT, and ID_OPCODE_PORT_WIDTH.
|
private |
Event handler for the dialog OK-button.
Definition at line 90 of file RFPortImplementationDialog.cc.
References assert, HDB::BIDIR, direction_, HDB::IN, loadPort_, name_, opcodePort_, opcodePortWidth_, HDB::OUT, port_, HDB::RFPortImplementation::setDirection(), HDB::PortImplementation::setLoadPort(), HDB::PortImplementation::setName(), HDB::RFPortImplementation::setOpcodePort(), HDB::RFPortImplementation::setOpcodePortWidthFormula(), and WxConversion::toString().
|
private |
Definition at line 80 of file RFPortImplementationDialog.hh.
Referenced by onOK().
|
private |
Definition at line 77 of file RFPortImplementationDialog.hh.
Referenced by onOK().
|
private |
Definition at line 76 of file RFPortImplementationDialog.hh.
Referenced by onOK().
|
private |
Definition at line 78 of file RFPortImplementationDialog.hh.
Referenced by onOK().
|
private |
Definition at line 79 of file RFPortImplementationDialog.hh.
Referenced by onOK().
|
private |
FU port implementation to modify.
Definition at line 74 of file RFPortImplementationDialog.hh.
Referenced by onOK().