OpenASIP
2.0
|
#include <ProDeFUEditPolicy.hh>
Public Member Functions | |
ProDeFUEditPolicy () | |
virtual | ~ProDeFUEditPolicy () |
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 | |
ProDeFUEditPolicy & | operator= (ProDeFUEditPolicy &old) |
Assignment not allowed. More... | |
ProDeFUEditPolicy (ProDeFUEditPolicy &old) | |
Copying not allowed. More... | |
Additional Inherited Members | |
Protected Attributes inherited from EditPolicy | |
EditPart * | host_ |
Host EditPart of this EditPolicy. More... | |
Determines how a function 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 ProDeFUEditPolicy.hh.
ProDeFUEditPolicy::ProDeFUEditPolicy | ( | ) |
|
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 107 of file ProDeFUEditPolicy.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 69 of file ProDeFUEditPolicy.cc.
References Request::COPY_REQUEST, Request::DELETE_REQUEST, EditPolicy::host_, ProDeTextGenerator::instance(), EditPart::model(), Request::MODIFY_REQUEST, TTAMachine::Component::name(), ProDeTextGenerator::STATUS_FUNCTION_UNIT, Request::STATUS_REQUEST, Texts::TextGenerator::text(), and Request::type().
|
private |
Assignment not allowed.