Class AbstractLoopActionHandler
- java.lang.Object
-
- org.palladiosimulator.solver.handler.AbstractLoopActionHandler
-
- Direct Known Subclasses:
CollectionIteratorActionHandler
,LoopActionHandler
public abstract class AbstractLoopActionHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ComputedUsageFactory
usageFactory
protected SeffVisitor
visitor
-
Constructor Summary
Constructors Constructor Description AbstractLoopActionHandler(SeffVisitor seffVisitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getUpperBound(de.uka.ipd.sdq.stoex.Expression solvedLoopCountExpr)
protected void
storeToUsageContext(org.palladiosimulator.pcm.seff.AbstractLoopAction loop, String solvedSpecification)
protected void
visitLoopBody(org.palladiosimulator.pcm.seff.AbstractLoopAction loop, String iterationCountSpecification)
-
-
-
Field Detail
-
usageFactory
protected ComputedUsageFactory usageFactory
-
visitor
protected SeffVisitor visitor
-
-
Constructor Detail
-
AbstractLoopActionHandler
public AbstractLoopActionHandler(SeffVisitor seffVisitor)
- Parameters:
context
-_visitor
-nextHandler
-
-
-
Method Detail
-
visitLoopBody
protected void visitLoopBody(org.palladiosimulator.pcm.seff.AbstractLoopAction loop, String iterationCountSpecification)
- Parameters:
loop
-solvedIterationCountExpr
-
-
getUpperBound
public int getUpperBound(de.uka.ipd.sdq.stoex.Expression solvedLoopCountExpr)
- Parameters:
solvedLoopCountExpr
-upperBound
-- Returns:
-
storeToUsageContext
protected void storeToUsageContext(org.palladiosimulator.pcm.seff.AbstractLoopAction loop, String solvedSpecification)
- Parameters:
loop
-solvedSpecification
-
-
-