Go to the documentation of this file.
33 #ifndef TTA_SIMULATE_DIALOG_HH
34 #define TTA_SIMULATE_DIALOG_HH
37 #include <wx/listctrl.h>
59 const std::string& pathName,
60 const std::string& modName);
74 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
81 void onReset(wxCommandEvent& event);
87 void onOK(wxCommandEvent& event);
163 DECLARE_EVENT_TABLE()
virtual ~SimulateDialog()
void onUpdateValue(wxCommandEvent &event)
SimulationInfoDialog * infoDialog_
Dialog for showing additional information.
unsigned int clock_
Variable where the value of clock is kept.
SimulateDialog & operator=(const SimulateDialog &)
Assignment not allowed.
NumberControl * updateValue_
Text control for updating input values.
wxStaticBoxSizer * outputSizer_
Output operand sizer.
wxListCtrl * outputList_
Output list.
wxStaticBoxSizer * inputSizer_
Input operand sizer.
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
Operation * operation_
Bitmap for Trigger result.
static const std::string FORMAT_FLOAT
Float format.
@ ID_BUTTON_SHOW_HIDE_REGISTERS
virtual bool TransferDataToWindow()
void onTrigger(wxCommandEvent &event)
static const std::string FORMAT_UNSIGNED_INT
Unsigned int format.
void onSelection(wxListEvent &event)
OperationBehaviorProxy * behaviorProxy_
The behavior proxy that loads the behavior. Used to "freeze" the behavior loading for the duration of...
static const std::string FORMAT_HEXA_DECIMAL
Hexadecimal format.
wxListCtrl * inputList_
Input list.
void setOutputValues(std::vector< SimValue * > outputs)
void setInputValues(std::vector< SimValue * > inputs)
void showOrHideRegisters(wxCommandEvent &event)
std::string pathName_
Path in which operation module belongs to.
std::string modName_
Module in which operation belongs to.
std::vector< DataObject * > inputs_
List of input values.
std::vector< DataObject * > outputs_
List of output values.
static const wxString DIALOG_NAME
Name of the dialog so it can be found with wxWindow::FindWindowByName.
SimulateDialog(wxWindow *parent, Operation *operation, const std::string &pathName, const std::string &modName)
void onFormatChanged(wxCommandEvent &event)
void onClose(wxCloseEvent &)
static const std::string FORMAT_BINARY
Binary format.
void onAdvanceClock(wxCommandEvent &event)
static const std::string FORMAT_SIGNED_INT
Signed int format.
void onOK(wxCommandEvent &event)
void onLateResult(wxCommandEvent &event)
static const std::string FORMAT_DOUBLE
Double format.
wxBitmap createBitmap(unsigned int index)
std::string formattedValue(SimValue *value)
void onReset(wxCommandEvent &event)
wxChoice * format_
Choice list of possible output formats.