Go to the documentation of this file.
33 #ifndef TTA_FU_IMPLEMENTATION_DIALOG_HH
34 #define TTA_FU_IMPLEMENTATION_DIALOG_HH
36 #include <wx/listctrl.h>
41 #define ALLOW_OPCODE_EDITING
55 wxWindow* parent, wxWindowID
id,
62 void onOK(wxCommandEvent& event);
63 void update(
bool onInit =
false);
94 #ifdef ALLOW_OPCODE_EDITING
100 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
115 #ifdef ALLOW_OPCODE_EDITING
165 DECLARE_EVENT_TABLE()
void onDeleteSourceFile(wxCommandEvent &event)
void onAddParameter(wxCommandEvent &event)
bool opcodeWarningShowed_
virtual ~FUImplementationDialog()
wxListCtrl * parameterList_
Pointer to the parameter list widget.
wxListCtrl * externalPortList_
Pointer to the external port list widget.
void onEditExternalPort(wxCommandEvent &event)
void onEditParameter(wxCommandEvent &event)
IDF::MachineImplementation * implementation
the implementation definition of the estimated processor
void onArchPortActivation(wxListEvent &event)
HDB::FUImplementation::Parameter selectedParameter()
@ ID_LABEL_OPCODE_PORT_NAME
void onDeleteExternalPort(wxCommandEvent &event)
void onOpcodeSelection(wxListEvent &event)
void update(bool onInit=false)
void onSourceFileSelection(wxListEvent &event)
void onMoveSourceFileUp(wxCommandEvent &event)
void onOK(wxCommandEvent &event)
void onParameterActivation(wxListEvent &event)
void onDeleteParameter(wxCommandEvent &event)
void onAddSourceFile(wxCommandEvent &event)
void onAddExternalPort(wxCommandEvent &event)
void onExternalPortActivation(wxListEvent &event)
HDB::FUPortImplementation * selectedArchPort()
void onMoveSourceFileDown(wxCommandEvent &event)
void onAddArchitecturePort(wxCommandEvent &event)
wxListCtrl * archPortList_
Pointer to the architecture port list widget.
void onSetOpcode(wxCommandEvent &event)
@ ID_DELETE_EXTERNAL_PORT
FUImplementationDialog(wxWindow *parent, wxWindowID id, HDB::FUImplementation &implementation, const TTAMachine::FunctionUnit &architecture)
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
wxListCtrl * sourceList_
Pointer to the source file list widget.
void onDeleteArchitecturePort(wxCommandEvent &event)
void onClearOpcode(wxCommandEvent &event)
void onEditArchitecturePort(wxCommandEvent &event)
@ ID_LABEL_GLOCK_REQ_PORT
HDB::FUImplementation & implementation_
FU Implementation to modify.
void onExternalPortSelection(wxListEvent &event)
void onParameterSelection(wxListEvent &event)
const TTAMachine::FunctionUnit & architecture_
Function unit architecture the FUImplementation implements.
wxListCtrl * opcodeList_
Pointer to the opcode list widget.
void onArchPortSelection(wxListEvent &event)
HDB::FUExternalPort * selectedExternalPort()