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