Go to the documentation of this file.
34 #include <wx/docview.h>
35 #include <boost/format.hpp>
84 view()->GetDocument())->getModel();
91 string title = fmt.str();
122 if (dialog.ShowModal() == wxID_OK) {
177 wxDocManager* manager = wxGetApp().docManager();
178 if (manager->GetCurrentView() != NULL) {
static wxString toWxString(const std::string &source)
static const std::string OP_PORT_NAME
Name for the jump/call operand port.
static const std::string CMD_SNAME_ADD_GCU
Command name for the "Add Global Control Unit" command.
virtual void bindPort(int operand, const FUPort &port)
static const std::string COMP_DEFAULT_NAME_GCU
Default name for new control units.
virtual AddGCUCmd * create() const
virtual boost::format text(int textId)
void notifyObservers(bool modified=true)
#define assert(condition)
virtual ControlUnit * controlUnit() const
void addPortRead(int operand, int start, int duration)
void popFromStack(bool modified=false)
virtual std::string shortName() const
static ProDeTextGenerator * instance()
virtual void setMachine(Machine &mach)
@ MSG_ERROR_ONE_GCU
Error: Multiple control units.
static const std::string RA_PORT_NAME
Name for the return address port.
void setReturnAddressPort(const SpecialRegisterPort &port)
ExecutionPipeline * pipeline() const
static const std::string OPNAME_JUMP
Name string for the jump operation.
static const std::string OPNAME_CALL
Name string for the call operation.
wxWindow * parentWindow() const
TTAMachine::Machine * getMachine()