OpenASIP
2.0
|
#include <ProximPortEditPolicy.hh>
Public Member Functions | |
ProximPortEditPolicy () | |
virtual | ~ProximPortEditPolicy () |
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 ports.
Definition at line 41 of file ProximPortEditPolicy.hh.
ProximPortEditPolicy::ProximPortEditPolicy | ( | ) |
|
virtual |
|
virtual |
Tells whether this EditPolicy can handle request of the given type.
Request | to be handled. |
Implements EditPolicy.
Definition at line 64 of file ProximPortEditPolicy.cc.
References Request::DETAILS_REQUEST, EditPolicy::host_, EditPart::model(), Request::STATUS_REQUEST, and Request::type().
|
virtual |
Returns command correspoding to the request type.
request | Request to handle. |
Implements EditPolicy.
Definition at line 90 of file ProximPortEditPolicy.cc.
References assert, Request::DETAILS_REQUEST, EditPolicy::host_, EditPart::model(), TTAMachine::Port::name(), Request::STATUS_REQUEST, and Request::type().