OpenASIP
2.0
|
#include <SocketFactory.hh>
Public Member Functions | |
SocketFactory (EditPolicyFactory &editPolicyFactory) | |
virtual | ~SocketFactory () |
virtual EditPart * | createEditPart (TTAMachine::MachinePart *component) |
Public Member Functions inherited from EditPartFactory | |
virtual | ~EditPartFactory () |
void | registerFactory (Factory *factory) |
Public Member Functions inherited from Factory | |
virtual | ~Factory () |
Private Member Functions | |
SocketFactory & | operator= (SocketFactory &old) |
Assignment not allowed. More... | |
SocketFactory (SocketFactory &old) | |
Copying not allowed. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from EditPartFactory | |
EditPartFactory (EditPolicyFactory &editPolicyFactory) | |
EditPart * | checkCache (const TTAMachine::MachinePart *component) const |
void | writeToCache (EditPart *editPart) |
Protected Member Functions inherited from Factory | |
Factory () | |
Protected Attributes inherited from EditPartFactory | |
std::vector< Factory * > | factories_ |
Registered factories. More... | |
EditPolicyFactory & | editPolicyFactory_ |
Factory which creates edit policies for edit parts. More... | |
Static Protected Attributes inherited from EditPartFactory | |
static std::vector< EditPart * > | created_ |
Container for already created EditParts. More... | |
Factory for creating socket EditParts corresponding to a given Machine Socket object.
Definition at line 47 of file SocketFactory.hh.
SocketFactory::SocketFactory | ( | EditPolicyFactory & | editPolicyFactory | ) |
The Constructor.
Definition at line 49 of file SocketFactory.cc.
|
virtual |
|
private |
Copying not allowed.
|
virtual |
Returns an EditPart corresponding to a socket.
component | Socket of which to create the EditPart. |
Implements Factory.
Definition at line 66 of file SocketFactory.cc.
References EditPartFactory::checkCache(), EditPolicyFactory::createSocketEditPolicy(), TTAMachine::Socket::direction(), EditPartFactory::editPolicyFactory_, EditPart::installEditPolicy(), EditPart::setFigure(), EditPart::setModel(), EditPart::setSelectable(), and EditPartFactory::writeToCache().
|
private |
Assignment not allowed.