Go to the documentation of this file.
54 srcOp->addOutputNode(
dst_);
58 for (
int j = 0; j < sm.annotationCount(); j++) {
60 if (anno.
id() == ProgramAnnotation::ANN_ALLOWED_UNIT_SRC) {
63 ProgramAnnotation::ANN_ALLOWED_UNIT_SRC,
67 ProgramAnnotation::ANN_CONN_CANDIDATE_UNIT_SRC) {
70 ProgramAnnotation::ANN_CONN_CANDIDATE_UNIT_SRC,
74 ProgramAnnotation::ANN_REJECTED_UNIT_SRC) {
77 ProgramAnnotation::ANN_REJECTED_UNIT_SRC,
@ ANN_REJECTED_UNIT_SRC
Src. unit rejected.
Terminal & destination() const
bool operator()() override
void undoOnlyMe() override
std::shared_ptr< ProgramOperation > ProgramOperationPtr
void setSourceOperationPtr(ProgramOperationPtr po)
ProgramOperation & sourceOperation() const
@ ANN_ALLOWED_UNIT_SRC
Candidate units can be passed for resource manager for choosing the source/destination unit of the mo...
ProgramAnnotation::Id id() const
@ ANN_CONN_CANDIDATE_UNIT_SRC
Src. unit candidate.
bool isSourceOperation() const
void unsetSourceOperation()
TTAProgram::Move & move()
virtual Terminal * copy() const =0
ProgramOperationPtr sourceOperationPtr() const
void removeAnnotations(ProgramAnnotation::Id id=ProgramAnnotation::ANN_UNDEF_ID)
const std::vector< Byte > & payload() const
void setSource(Terminal *src)
void removeOutputNode(MoveNode &node, int outputIndex)