|
OpenASIP 2.2
|
#include <ProDeRFEditPolicy.hh>


Public Member Functions | |
| ProDeRFEditPolicy () | |
| virtual | ~ProDeRFEditPolicy () |
| 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 | |
| ProDeRFEditPolicy & | operator= (ProDeRFEditPolicy &old) |
| Assignment not allowed. | |
| ProDeRFEditPolicy (ProDeRFEditPolicy &old) | |
| Copying not allowed. | |
Additional Inherited Members | |
Protected Attributes inherited from EditPolicy | |
| EditPart * | host_ |
| Host EditPart of this EditPolicy. | |
Determines how a register file 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 50 of file ProDeRFEditPolicy.hh.
| ProDeRFEditPolicy::ProDeRFEditPolicy | ( | ) |
The Constructor.
Definition at line 56 of file ProDeRFEditPolicy.cc.
|
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 128 of file ProDeRFEditPolicy.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 ProDeRFEditPolicy.cc.
References assert, Request::COPY_REQUEST, Request::DELETE_REQUEST, EditPolicy::host_, ProDeTextGenerator::instance(), TTAMachine::RegisterFile::isNormal(), TTAMachine::RegisterFile::isReserved(), TTAMachine::RegisterFile::isVolatile(), EditPart::model(), Request::MODIFY_REQUEST, TTAMachine::Component::name(), TTAMachine::BaseRegisterFile::numberOfRegisters(), ProDeTextGenerator::STATUS_REGISTER_FILE, Request::STATUS_REQUEST, Texts::TextGenerator::text(), Conversion::toString(), ProDeTextGenerator::TXT_RF_TYPE_NORMAL, ProDeTextGenerator::TXT_RF_TYPE_RESERVED, ProDeTextGenerator::TXT_RF_TYPE_VOLATILE, Request::type(), and TTAMachine::BaseRegisterFile::width().

|
private |
Assignment not allowed.