|
||||||||||
| 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
public class Assignment
An assignment connects a inport and a outport in a SPR.
| Constructor Summary | |
|---|---|
Assignment(InPort inport,
OutPort outport)
Creates a new assignment, implicitly creating a strict assignment, contrary to a loose assignment. |
|
Assignment(InPort inport,
OutPort outport,
boolean isloose)
Creates a new assignment, explicitly stating looseness. |
|
Assignment(SPRComponent inportCompound,
String inportName,
SPRComponent outportCompound,
String outportName)
Creates a new assignment, implicitly creating a strict assignment, contrary to a loose assignment. |
|
Assignment(SPRComponent inportCompound,
String inportName,
SPRComponent outportCompound,
String outportName,
boolean isLoose)
Creates a new assignment, explicitly stating looseness. |
|
| Method Summary | |
|---|---|
int |
getChecksum()
Returns the checksum for the segment. |
String |
getComponentType()
Gets the type of this component. |
String |
getComponentVersion()
Gets the version of this component. |
InPort |
getInPort()
Gets the inport of the assignment. |
OutPort |
getOutPort()
Gets the outport of the assignment. |
boolean |
hasSameDataAs(Object obj)
|
boolean |
isLoose()
Returns whether this assignment is loose (true) or not. |
void |
setInPort(InPort port)
Sets the given port as new inport. |
void |
setOutPort(OutPort port)
Sets the given port as new outport. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Assignment(InPort inport,
OutPort outport)
inport - The inport of the assignment.outport - The outport of the assignment.
public Assignment(InPort inport,
OutPort outport,
boolean isloose)
inport - The inport of the assignment.outport - The outport of the assignment.isloose - Flag to determine if the assignment should be delayed to the
next SPR cycle. True: delay the assignment, false: otherwise.
public Assignment(SPRComponent inportCompound,
String inportName,
SPRComponent outportCompound,
String outportName)
inportCompound - The compound containing the inport.inportName - The name of the inport.outportCompound - The compound containing the outport.outportName - The name of the outport.
public Assignment(SPRComponent inportCompound,
String inportName,
SPRComponent outportCompound,
String outportName,
boolean isLoose)
inportCompound - The compound containing the inport.inportName - The name of the inport.outportCompound - The compound containing the outport.outportName - The name of the outport.isLoose - Flag to determine if the assignment should be delayed to the
next SPR cycle. True: delay the assignment, false: otherwise.| Method Detail |
|---|
public InPort getInPort()
public void setInPort(InPort port)
port - The new inport.public OutPort getOutPort()
public void setOutPort(OutPort port)
port - The new outport.public String toString()
toString in class Objectpublic String getComponentType()
getComponentType in interface ISegmentpublic String getComponentVersion()
getComponentVersion in interface ISegmentpublic int getChecksum()
getChecksum in interface ISegmentpublic boolean hasSameDataAs(Object obj)
hasSameDataAs in interface com.kuka.common.IDataEquatablepublic boolean isLoose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||