Go to the documentation of this file.
32 #ifndef TTA_RF_GUARD_DIALOG_HH
33 #define TTA_RF_GUARD_DIALOG_HH
56 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
58 void onOK(wxCommandEvent& event);
59 void onCancel(wxCommandEvent& event);
bool adding_
True if a new guard is being added, false otherwise.
int newIndex_
Modified register index of the guard.
wxChoice * indexChoice_
Choice widget for register index selection.
int index_
Register index of the guard.
wxCheckBox * invertedBox_
Checkbox widget for the inverted flag.
void onCancel(wxCommandEvent &event)
void onOK(wxCommandEvent &event)
bool newInverted_
Modified inverted flag of the guard.
virtual bool TransferDataToWindow()
void onRFChoice(wxCommandEvent &event)
RFGuardDialog(wxWindow *parent, TTAMachine::Bus *bus, TTAMachine::RegisterGuard *guard=NULL)
TTAMachine::Bus * bus_
Parent bus of the register guard.
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
wxChoice * nameChoice_
Choice widget for register file name selection.
const TTAMachine::RegisterFile * selectedRF() const
const TTAMachine::RegisterFile * rf_
Guard register.
bool inverted_
Inverted flag of the guard.