|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.api.Assignment
com.kuka.roboticsAPI.controllerModel.sunrise.api.SelectiveAssignment
public class SelectiveAssignment
Multiple selective assignments can target a single inport. Using a level, one can specify what happens, if a port has invalid values.
| Constructor Summary | |
|---|---|
SelectiveAssignment(int selectionLevel,
InPort inport,
OutPort outport)
Creates a new selective assignment. |
|
SelectiveAssignment(int level,
SPRComponent inportCompound,
String inportName,
SPRComponent outportCompound,
String outportName)
Creates a new selective assignment. |
|
| Method Summary | ||
|---|---|---|
|
addParameter(String name,
T value)
Adds a new parameter to this compound. |
|
Parameter<?> |
getParameter(String name)
Gets the parameter with the specified name. |
|
ParameterList |
getParameterList()
Gets the parameter list of this compound. |
|
Selection |
getSelection()
Gets the selection in which the assignment participates. |
|
int |
getSelectionLevel()
Gets the level of this selective assignment. |
|
boolean |
hasSameDataAs(Object obj)
|
|
void |
setSelectionLevel(int selectionLevel)
Sets the level of this selective assignment. |
|
String |
toString()
|
|
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.Assignment |
|---|
getChecksum, getComponentType, getComponentVersion, getInPort, getOutPort, isLoose, setInPort, setOutPort |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SelectiveAssignment(int level,
SPRComponent inportCompound,
String inportName,
SPRComponent outportCompound,
String outportName)
level - The level of the assignment.inportCompound - The compound containing the inport.inportName - The name of the inport.outportCompound - The compoudn containing the outport.outportName - The name of the outport.
public SelectiveAssignment(int selectionLevel,
InPort inport,
OutPort outport)
selectionLevel - The level of the assignment.inport - The inport of the assignment.outport - The outport of the assignment.| Method Detail |
|---|
public void setSelectionLevel(int selectionLevel)
selectionLevel - The level of this selective assignment.public int getSelectionLevel()
public final <T> Parameter<T> addParameter(String name,
T value)
T - The type of the parameter.name - The name of the parameter.value - The value of the parameter.
public ParameterList getParameterList()
public final Parameter<?> getParameter(String name)
name - The name of the parameter. null is not allowed.
public String toString()
toString in class Assignmentpublic Selection getSelection()
The selection is set when the assignment was added to an SPR. Until then,
the method returns null.
public boolean hasSameDataAs(Object obj)
hasSameDataAs in interface com.kuka.common.IDataEquatablehasSameDataAs in class Assignment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||