Go to the documentation of this file.
34 #ifndef TTA_PROXIM_MACHINE_STATE_WINDOW_HH
35 #define TTA_PROXIM_MACHINE_STATE_WINDOW_HH
47 class wxUpdateUIEvent;
48 class UtilizationWindow;
82 void onZoom(wxCommandEvent& event);
89 void onExport(wxCommandEvent& event);
127 DECLARE_EVENT_TABLE()
void setStatusText(std::string status)
void onZoom(wxCommandEvent &event)
void onExport(wxCommandEvent &event)
TTAMachine::Machine * machine
the architecture definition of the estimated processor
static const int INITIAL_DETAILS_PANE_WIDTH
Initial width for the component detail pane.
static const int MINIMUM_PANE_WIDTH
Minimum width for the splitter window panes.
void appendDetails(std::string text)
void onToggleMoves(wxCommandEvent &event)
wxStatusBar * statusbar_
Statusbar of the window.
void setMachine(TTAMachine::Machine *machine)
wxTextCtrl * detailsCtrl_
Utilziation window where to display utilization data of the components.
bool showMoves_
Tells if the moves are displayed or not.
virtual ~ProximMachineStateWindow()
SimulatorFrontend * simulator_
Simulator instance which contains the registers to display.
void onMachineLoaded(const SimulatorEvent &event)
@ COMMAND_TOGGLE_UNIT_INFO
void setUtilizationHighlights()
void onToggleUtilizations(wxCommandEvent &event)
void appendUtilizationData(std::string text)
ProximMachineStateWindow(ProximMainFrame *parent, int id)
wxTextCtrl * utilizationCtrl_
void onToggleUnitInfo(wxCommandEvent &event)
bool showUtilizations_
Tells if the machine part utilizations are displayed or not.
void onUpdateUIEvent(wxUpdateUIEvent &event)
void onProgramLoaded(const SimulatorEvent &event)
wxBoxSizer * sizer_
Toplevel sizer for the window widgets.
MachineCanvas * canvas_
Machine visualization canvas.
void onSimulationStop(const SimulatorEvent &event)
@ COMMAND_TOGGLE_UTILIZATIONS