|
OpenASIP 2.2
|
#include <ImplementationParameterDialog.hh>


Public Member Functions | |
| ImplementationParameterDialog (wxWindow *parent, wxWindowID id, HDB::FUImplementation::Parameter &implementation) | |
| virtual | ~ImplementationParameterDialog () |
Private Types | |
| enum | { ID_LABEL_NAME = 10000 , ID_NAME , ID_LABEL_TYPE , ID_TYPE , ID_LABEL_VALUE , ID_VALUE , 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::FUImplementation::Parameter & | parameter_ |
| FU port implementation to modify. | |
| wxString | name_ |
| wxString | type_ |
| wxString | value_ |
Dialog for editing FU port implementations.
Definition at line 44 of file ImplementationParameterDialog.hh.
|
private |
Enumerated IDs for dialog widgets.
| Enumerator | |
|---|---|
| ID_LABEL_NAME | |
| ID_NAME | |
| ID_LABEL_TYPE | |
| ID_TYPE | |
| ID_LABEL_VALUE | |
| ID_VALUE | |
| ID_LINE | |
Definition at line 56 of file ImplementationParameterDialog.hh.
| ImplementationParameterDialog::ImplementationParameterDialog | ( | wxWindow * | parent, |
| wxWindowID | id, | ||
| HDB::FUImplementation::Parameter & | implementation | ||
| ) |
The Constructor.
| parent | Parent window of the dialog. |
| id | Window identifier for the dialog window. |
| parameter | FU implementation parameter to modify. |
Definition at line 52 of file ImplementationParameterDialog.cc.
References WxConversion::toWxString().

|
virtual |
|
private |
Creates the dialog contents.
Creates the dialog contents.
Definition at line 116 of file ImplementationParameterDialog.cc.
References ID_LABEL_NAME, ID_LABEL_TYPE, ID_LABEL_VALUE, ID_LINE, ID_NAME, ID_TYPE, and ID_VALUE.
|
private |
Event handler for the dialog OK-button.
Definition at line 82 of file ImplementationParameterDialog.cc.
References HDB::Parameter::name, name_, parameter_, WxConversion::toString(), HDB::Parameter::type, type_, HDB::Parameter::value, and value_.

|
private |
Definition at line 72 of file ImplementationParameterDialog.hh.
Referenced by onOK().
|
private |
FU port implementation to modify.
Definition at line 70 of file ImplementationParameterDialog.hh.
Referenced by onOK().
|
private |
Definition at line 73 of file ImplementationParameterDialog.hh.
Referenced by onOK().
|
private |
Definition at line 74 of file ImplementationParameterDialog.hh.
Referenced by onOK().