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