OpenASIP
2.0
|
#include <ProximBusEditPolicy.hh>
Public Member Functions | |
ProximBusEditPolicy () | |
virtual | ~ProximBusEditPolicy () |
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) |
Additional Inherited Members | |
Protected Attributes inherited from EditPolicy | |
EditPart * | host_ |
Host EditPart of this EditPolicy. More... | |
Edit policy for Proxim machine state window buses.
Definition at line 41 of file ProximBusEditPolicy.hh.
ProximBusEditPolicy::ProximBusEditPolicy | ( | ) |
|
virtual |
|
virtual |
Tells whether this EditPolicy can handle request of the given type.
Request | to be handled. |
Implements EditPolicy.
Definition at line 65 of file ProximBusEditPolicy.cc.
References Request::DETAILS_REQUEST, Request::STATUS_REQUEST, and Request::type().
|
virtual |
Returns command correspoding to the request type.
request | Request to handle. |
Implements EditPolicy.
Definition at line 84 of file ProximBusEditPolicy.cc.
References assert, Request::DETAILS_REQUEST, EditPolicy::host_, ProximConstants::MACH_WIN_BUS_LABEL, EditPart::model(), TTAMachine::Component::name(), TTAMachine::Segment::parentBus(), Request::STATUS_REQUEST, and Request::type().