| 
    OpenASIP 2.2
    
   | 
 
#include <ProDeBusEditPolicy.hh>


Public Member Functions | |
| ProDeBusEditPolicy () | |
| virtual | ~ProDeBusEditPolicy () | 
| 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 | |
| ProDeBusEditPolicy & | operator= (ProDeBusEditPolicy &old) | 
| Assignment not allowed.   | |
| ProDeBusEditPolicy (ProDeBusEditPolicy &old) | |
| Copying not allowed.   | |
Additional Inherited Members | |
  Protected Attributes inherited from EditPolicy | |
| EditPart * | host_ | 
| Host EditPart of this EditPolicy.   | |
Determines how a bus 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 ProDeBusEditPolicy.hh.
| ProDeBusEditPolicy::ProDeBusEditPolicy | ( | ) | 
The Constructor.
Definition at line 57 of file ProDeBusEditPolicy.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 120 of file ProDeBusEditPolicy.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 73 of file ProDeBusEditPolicy.cc.
References Request::COPY_REQUEST, Request::DELETE_REQUEST, EditPolicy::host_, TTAMachine::Bus::immediateWidth(), ProDeTextGenerator::instance(), EditPart::model(), Request::MODIFY_REQUEST, TTAMachine::Component::name(), TTAMachine::Bus::signExtends(), ProDeTextGenerator::STATUS_BUS, Request::STATUS_REQUEST, Texts::TextGenerator::text(), Conversion::toString(), ProDeTextGenerator::TXT_RADIO_EXTENSION_SIGN, ProDeTextGenerator::TXT_RADIO_EXTENSION_ZERO, Request::type(), and TTAMachine::Bus::width().

      
  | 
  private | 
Assignment not allowed.