Go to the documentation of this file.
33 #include <wx/docview.h>
80 while (navigator.
hasItem(newName)) {
97 if (dialog.ShowModal() == wxID_OK) {
151 wxDocManager* manager = wxGetApp().docManager();
152 if (manager->GetCurrentView() != NULL) {
virtual std::string shortName() const
static const std::string CMD_SNAME_ADD_IU
Command name for the "Add Immediate Unit" command.
static std::string toString(const T &source)
void notifyObservers(bool modified=true)
#define assert(condition)
virtual AddIUCmd * create() const
static const int DEFAULT_WIDTH
Default bit width.
virtual ImmediateUnitNavigator immediateUnitNavigator() const
bool hasItem(const std::string &name) const
static const int DEFAULT_IU_SIZE
Default immediate unit size.
void popFromStack(bool modified=false)
static const std::string COMP_NEW_NAME_PREFIX_IU
Prefix for new immediate unit names.
static const int DEFAULT_IU_GUARD_LATENCY
Default local IU guard latency.
virtual void setMachine(Machine &mach)
static const int DEFAULT_IU_MAX_READS
Default maximum read ports of a immediate unit.
wxWindow * parentWindow() const
TTAMachine::Machine * getMachine()