|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.executionModel.ExecutionContainer
com.kuka.roboticsAPI.controllerModel.sunrise.SunriseExecutionContainer
public class SunriseExecutionContainer
An ExecutionContainer for Sunrise controller commands.
| Field Summary |
|---|
| Fields inherited from class com.kuka.roboticsAPI.executionModel.ExecutionContainer |
|---|
_containerTypeName |
| Constructor Summary | |
|---|---|
SunriseExecutionContainer(IControllerCommand command,
ExecutorService eventWorker,
IContainerStateListener stateListener)
Creates a new instance of the execution container. |
|
| Method Summary | |
|---|---|
Primitive |
findPrimitive(SPRRuntime sprRuntime)
Finds the primitive that contains the SPR. |
Tool |
getAttachedToolObjects()
Gets the attached tool objects to the robot flange. |
String |
getDeviceName()
Gets the name of device for which this container commands. |
SunriseMappingToken |
getMappingToken()
Returns the SunriseMappingToken for this container. |
protected void |
setFinishedState(Primitive eventPrim)
Sets the state of the container to finish depending on the primitive. |
protected void |
setFiredStopCondition(IFiredConditionInfo stopCondition)
Sets the fired stop condition for this container. |
protected void |
setMappingToken(SunriseMappingToken token)
Sets the SunriseMappingToken for this container. |
protected void |
setState(ExecutionState state)
Changes the state of the container to the given state. |
| Methods inherited from class com.kuka.roboticsAPI.executionModel.ExecutionContainer |
|---|
acquireResources, addStateListener, appendErrorMessage, await, await, cancel, getCommand, getContext, getDefaultParams, getErrorMessage, getFiredBreakConditionInfo, getRuntimeData, getState, hasError, hasFired, isFinished, removeStateListener, setDefaultParams, setErrorMessage, throwContainerException, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SunriseExecutionContainer(IControllerCommand command,
ExecutorService eventWorker,
IContainerStateListener stateListener)
command - the command for which this container will track the executioneventWorker - the ExecutorService that will be used to send out
events in a different thread. May be null, in this case no
events will be sent out.stateListener - a listener for container state events| Method Detail |
|---|
public SunriseMappingToken getMappingToken()
null.public String getDeviceName()
public Tool getAttachedToolObjects()
protected void setFinishedState(Primitive eventPrim)
eventPrim - The primitive on which the state transition depends.public Primitive findPrimitive(SPRRuntime sprRuntime)
sprRuntime - SPR to be found
protected void setState(ExecutionState state)
ExecutionContainer
setState in class ExecutionContainerstate - The new state of the container.protected void setFiredStopCondition(IFiredConditionInfo stopCondition)
ExecutionContainerNot intended to be called manually.
setFiredStopCondition in class ExecutionContainerstopCondition - The fired stop condition.protected void setMappingToken(SunriseMappingToken token)
token - the SunriseMappingToken for this container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||