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()
IDF::MachineImplementation * implementation
the implementation definition of the estimated processor
wxListCtrl * sourceList_
Pointer to the source file list widget.
void onOpcodeSelection(wxListEvent &event)
bool opcodeWarningShowed_
const TTAMachine::FunctionUnit & architecture_
Function unit architecture the FUImplementation implements.
void onArchPortActivation(wxListEvent &event)
void onAddParameter(wxCommandEvent &event)
void onMoveSourceFileDown(wxCommandEvent &event)
void onAddExternalPort(wxCommandEvent &event)
void onAddSourceFile(wxCommandEvent &event)
void onAddArchitecturePort(wxCommandEvent &event)
void onDeleteSourceFile(wxCommandEvent &event)
wxListCtrl * opcodeList_
Pointer to the opcode list widget.
void onClearOpcode(wxCommandEvent &event)
void onDeleteExternalPort(wxCommandEvent &event)
void onParameterActivation(wxListEvent &event)
HDB::FUExternalPort * selectedExternalPort()
void onSetOpcode(wxCommandEvent &event)
wxListCtrl * parameterList_
Pointer to the parameter list widget.
void onArchPortSelection(wxListEvent &event)
void onSourceFileSelection(wxListEvent &event)
void onExternalPortSelection(wxListEvent &event)
@ ID_LABEL_GLOCK_REQ_PORT
@ ID_LABEL_OPCODE_PORT_NAME
@ ID_DELETE_EXTERNAL_PORT
void update(bool onInit=false)
void onOK(wxCommandEvent &event)
void onMoveSourceFileUp(wxCommandEvent &event)
wxListCtrl * externalPortList_
Pointer to the external port list widget.
void onDeleteArchitecturePort(wxCommandEvent &event)
void onEditParameter(wxCommandEvent &event)
void onEditArchitecturePort(wxCommandEvent &event)
void onEditExternalPort(wxCommandEvent &event)
HDB::FUImplementation & implementation_
FU Implementation to modify.
void onExternalPortActivation(wxListEvent &event)
wxListCtrl * archPortList_
Pointer to the architecture port list widget.
void onDeleteParameter(wxCommandEvent &event)
HDB::FUPortImplementation * selectedArchPort()
HDB::FUImplementation::Parameter selectedParameter()
void onParameterSelection(wxListEvent &event)
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
virtual ~FUImplementationDialog()