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