|
OpenASIP 2.2
|
#include <PipelineElement.hh>

Classes | |
| struct | Comparator |
Public Member Functions | |
| PipelineElement (const std::string &name, FunctionUnit &parentUnit) | |
| virtual | ~PipelineElement () |
| const std::string & | name () const |
| void | setName (const std::string &name) |
| FunctionUnit * | parentUnit () const |
Private Attributes | |
| std::string | name_ |
| Name of the pipeline element. | |
| FunctionUnit * | parent_ |
| The parent unit. | |
Represents an resource inside pipeline in function unit.
Definition at line 46 of file PipelineElement.hh.
| TTAMachine::PipelineElement::PipelineElement | ( | const std::string & | name, |
| FunctionUnit & | parentUnit | ||
| ) |
Constructor.
Pipeline elements are created automatically when pipeline of operation is created. Clients should not create pipeline elements.
| name | Name of the pipeline element. |
| parentUnit | The parent unit. |
| ComponentAlreadyExists | If there exists another pipeline element by the same name in the function unit. |
| InvalidName | If the given name is not a valid component name. |
Definition at line 54 of file PipelineElement.cc.
References TTAMachine::FunctionUnit::addPipelineElement(), name(), parent_, parentUnit(), and setName().

|
virtual |
Destructor.
Definition at line 69 of file PipelineElement.cc.
References TTAMachine::FunctionUnit::deletePipelineElement(), name(), TTAMachine::FunctionUnit::operation(), TTAMachine::FunctionUnit::operationCount(), parent_, TTAMachine::HWOperation::pipeline(), and TTAMachine::ExecutionPipeline::removeResourceUse().

| const std::string & TTAMachine::PipelineElement::name | ( | ) | const |
Referenced by HDB::HDBManager::addFUArchitecture(), TTAMachine::FunctionUnit::addPipelineElement(), ExecutionPipelineResourceTable::ExecutionPipelineResourceTable(), HDBToHtml::fuArchToHtml(), TTAMachine::FunctionUnit::isArchitectureEqual(), HDB::HDBManager::isMatchingArchitecture(), TTAMachine::PipelineElement::Comparator::operator()(), HDB::FUArchitecture::operator==(), PipelineElement(), ReservationTable::ReservationTable(), TTAMachine::ExecutionPipeline::saveResourceUse(), setName(), OperationDialog::updateResourceGrid(), and ~PipelineElement().
| FunctionUnit * TTAMachine::PipelineElement::parentUnit | ( | ) | const |
| void TTAMachine::PipelineElement::setName | ( | const std::string & | name | ) |
Sets the name of the pipeline element.
| name | The new name. |
| ComponentAlreadyExists | If another pipeline element exists by the same name in the same function unit. |
| InvalidName | If the given name is not a valid component name. |
Definition at line 93 of file PipelineElement.cc.
References MachineTester::isValidComponentName(), name(), name_, and parentUnit().
Referenced by PipelineElement().

|
private |
Name of the pipeline element.
Definition at line 62 of file PipelineElement.hh.
Referenced by setName().
|
private |
The parent unit.
Definition at line 64 of file PipelineElement.hh.
Referenced by PipelineElement(), and ~PipelineElement().