OpenASIP
2.0
|
#include <ProDeIUEditPolicy.hh>
Public Member Functions | |
ProDeIUEditPolicy () | |
virtual | ~ProDeIUEditPolicy () |
virtual ComponentCommand * | getCommand (Request *request) |
virtual bool | canHandle (Request *request) const |
Public Member Functions inherited from EditPolicy | |
EditPolicy () | |
virtual | ~EditPolicy () |
EditPart * | host () const |
void | setHost (EditPart *host) |
Private Member Functions | |
ProDeIUEditPolicy & | operator= (ProDeIUEditPolicy &old) |
Assignment not allowed. More... | |
ProDeIUEditPolicy (ProDeIUEditPolicy &old) | |
Copying not allowed. More... | |
Additional Inherited Members | |
Protected Attributes inherited from EditPolicy | |
EditPart * | host_ |
Host EditPart of this EditPolicy. More... | |
Determines how an immediate unit EditPart acts when a Request is performed on it.
Converts a given Request to a Command if the EditPolicy supports the Request.
Definition at line 49 of file ProDeIUEditPolicy.hh.
ProDeIUEditPolicy::ProDeIUEditPolicy | ( | ) |
|
virtual |
|
private |
Copying not allowed.
|
virtual |
Tells whether this EditPolicy is able to handle a certain type of Request.
request | Request to be asked if it can be handled. |
Implements EditPolicy.
Definition at line 123 of file ProDeIUEditPolicy.cc.
References Request::COPY_REQUEST, Request::DELETE_REQUEST, Request::MODIFY_REQUEST, Request::STATUS_REQUEST, and Request::type().
|
virtual |
Returns the Command corresponding to the type of the Request.
request | Request to be handled. |
Implements EditPolicy.
Definition at line 72 of file ProDeIUEditPolicy.cc.
References assert, Request::COPY_REQUEST, Request::DELETE_REQUEST, TTAMachine::ImmediateUnit::extensionMode(), EditPolicy::host_, ProDeTextGenerator::instance(), EditPart::model(), Request::MODIFY_REQUEST, TTAMachine::Component::name(), TTAMachine::BaseRegisterFile::numberOfRegisters(), ProDeTextGenerator::STATUS_IMMEDIATE_UNIT, Request::STATUS_REQUEST, Texts::TextGenerator::text(), Conversion::toString(), ProDeTextGenerator::TXT_RADIO_EXTENSION_SIGN, ProDeTextGenerator::TXT_RADIO_EXTENSION_ZERO, Request::type(), and TTAMachine::BaseRegisterFile::width().
|
private |
Assignment not allowed.