OpenASIP  2.0
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
Factory Class Referenceabstract

#include <Factory.hh>

Inheritance diagram for Factory:
Inheritance graph
Collaboration diagram for Factory:
Collaboration graph

Public Member Functions

virtual ~Factory ()
 
virtual EditPartcreateEditPart (TTAMachine::MachinePart *component)=0
 Returns an EditPart that corresponds to a Machine component. More...
 

Protected Member Functions

 Factory ()
 

Private Member Functions

Factoryoperator= (Factory &old)
 Assignment not allowed. More...
 
 Factory (Factory &old)
 Copying not allowed. More...
 

Detailed Description

Interface that will be implemented by different EditPart factories.

Definition at line 46 of file Factory.hh.

Constructor & Destructor Documentation

◆ ~Factory()

Factory::~Factory ( )
virtual

The Destructor.

Definition at line 47 of file Factory.cc.

47  {
48 }

◆ Factory() [1/2]

Factory::Factory ( )
protected

The Constructor.

Since this class is an interface, no instances of it should be created.

Definition at line 41 of file Factory.cc.

41  {
42 }

◆ Factory() [2/2]

Factory::Factory ( Factory old)
private

Copying not allowed.

Member Function Documentation

◆ createEditPart()

virtual EditPart* Factory::createEditPart ( TTAMachine::MachinePart component)
pure virtual

◆ operator=()

Factory& Factory::operator= ( Factory old)
private

Assignment not allowed.


The documentation for this class was generated from the following files: