32#ifndef TTA_BUS_DIALOG_HH
33#define TTA_BUS_DIALOG_HH
36#include <wx/listctrl.h>
37#include <wx/spinctrl.h>
61 void onOK(wxCommandEvent&);
94 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
168 DECLARE_EVENT_TABLE()
void onOK(wxCommandEvent &)
wxString newSegName_
Name for a new segment.
void onBusName(wxCommandEvent &)
wxListCtrl * rfGuardList_
Register file guard list control.
wxListCtrl * fuGuardList_
Function unit port guard list control.
void onDeleteSegment(wxCommandEvent &)
wxCheckBox * alwaysFalseGuard_
Check box for always false unconditional guard.
wxRadioBox * immediateExtensionBox_
Radio box for immediate extension.
void onAddFUGuard(wxCommandEvent &)
wxStaticBoxSizer * registerGuardSizer_
Static boxsizer for the register guard properties.
TTAMachine::PortGuard * selectedFUGuard() const
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
vector< TTAMachine::PortGuard * > portGuards_
list of port guards
void onActivateRFGuard(wxListEvent &event)
void onFUGuardRightClick(wxListEvent &event)
void onHelp(wxCommandEvent &event)
void onDeleteRFGuard(wxCommandEvent &)
TTAMachine::RegisterGuard * selectedRFGuard() const
void onRFGuardSelection(wxListEvent &)
void onDeleteFUGuard(wxCommandEvent &)
wxListCtrl * segList_
List widget for the segment list.
void onActivateFUGuard(wxListEvent &event)
void onWidth(wxSpinEvent &)
TTAMachine::Segment * selectedSegment() const
virtual bool TransferDataToWindow()
int width_
Width of the bus.
wxStaticBoxSizer * siSizer_
Static boxsizer for the short immediate properties.
void onEditRFGuard(wxCommandEvent &)
wxString name_
Name of the bus.
void onSegmentDown(wxCommandEvent &)
void onAddRFGuard(wxCommandEvent &)
void onUnconditionalGuard(wxCommandEvent &)
vector< TTAMachine::RegisterGuard * > registerGuards_
list of register guards
int immWidth_
Short immediate width.
wxCheckBox * alwaysTrueGuard_
Check box for always true unconditional guard.
void onEditFUGuard(wxCommandEvent &)
void onRFGuardRightClick(wxListEvent &event)
wxStaticBoxSizer * segmentSizer_
Static boxsizer for the segment properties.
void onSegmentName(wxCommandEvent &)
void onSegmentRightClick(wxListEvent &event)
void onFUGuardSelection(wxListEvent &)
void onAddSegment(wxCommandEvent &)
wxStaticBoxSizer * busSizer_
Static boxsizer for the bus properties.
void onSegmentSelection(wxListEvent &)
TTAMachine::Bus * bus_
Transport Bus to edit.
void onSegmentUp(wxCommandEvent &)
wxStaticBoxSizer * portGuardSizer_
Static boxsizer for the port guard properties.