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