|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.api.Port
com.kuka.roboticsAPI.controllerModel.sunrise.api.OutPort
public class OutPort
A outport is a port of a compound which provides result data of the compound in the data-flow.
Outports can be registered for returned values and therefore have values. If an outport is registered for return values its value will be automatically filled from Sunrise by every state change of the SPR.
| Constructor Summary | |
|---|---|
OutPort(String name)
Creates a new outport with the given name. |
|
OutPort(String name,
Object value)
Creates a new outport with the given name and the given value. |
|
| Method Summary | |
|---|---|
int |
getUniqueId()
Gets the unique id for this port for the return values. |
Object |
getValue()
Gets the value of this port. |
ISerializableType |
getWrappedValue()
Gets the wrapped serializable value of the port. |
void |
setValue(Object value)
Sets the value for this port. |
String |
toString()
|
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.Port |
|---|
getExpressionSegmentString, getFullName, getName, getSerializableType, getSPRComponent, hasSameDataAs, hasValue, setInternalValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OutPort(String name,
Object value)
name - The name of the port.value - The value of the port.public OutPort(String name)
name - The name of the port.| Method Detail |
|---|
public int getUniqueId()
public ISerializableType getWrappedValue()
getWrappedValue in class Portpublic Object getValue()
public final void setValue(Object value)
value - The value for this port.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||