|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent
com.kuka.roboticsAPI.controllerModel.sunrise.api.Module
com.kuka.roboticsAPI.controllerModel.sunrise.predefinedCompounds.ApplicationStateModule
public class ApplicationStateModule
Module that provides the information about application states for the data flow.
| Nested Class Summary | |
|---|---|
static class |
ApplicationStateModule.PauseState
States representing the state machine in the module in sunrise. |
| Constructor Summary | |
|---|---|
ApplicationStateModule()
Creates an instance of the class. |
|
| Method Summary | |
|---|---|
void |
addApplicationOverrideListener(IApplicationOverrideListener listener)
Add a listener for the changes of the application override. |
boolean |
checkAnswer(Message answer)
Checks an SSR answer for relevant data. |
boolean |
checkEvent(Message message)
Check if a message is relevant for this module and set the state corresponding. |
SSR |
createGetApplicationOverrideRequest()
Creates a get application override request SSR. |
SSR |
createGetEffectiveOverrideRequest()
Creates a get effective override request SSR. |
SSR |
createGetManualOverrideRequest()
Creates a get manual override request SSR. |
SSR |
createPausedRequest()
Creates a paused request SSR. |
SSR |
createPausingRequest()
Creates a pausing request SSR. |
SSR |
createResumedRequest()
Creates a resumed request SSR. |
SSR |
createResumingRequest()
Creates a resuming request SSR. |
SSR |
createSetApplicationOverrideClipRequest(double value)
Creates a set application override clipping request SSR. |
SSR |
createSetApplicationOverrideRequest(double value)
Creates a set application override request SSR. |
SSR |
createSetManualOverrideClipRequest(double value)
Creates a set manual override clipping request SSR. |
SSR |
createSetManualOverrideRequest(double value)
Creates a set manual override request SSR. |
InPort |
getAdditionalStopRequestIn()
|
double |
getApplicationOverride()
|
OutPort |
getApplicationStateOut()
|
double |
getEffectiveOverride()
|
OutPort |
getEffectiveOverrideOut()
|
double |
getManualOverride()
|
ApplicationStateModule.PauseState |
getPauseState()
|
InPort |
getSafetyStopStateIn()
|
OutPort |
getStopMotionRequestOut()
|
protected void |
onFinished()
Called when the SPR in which this compound is added, is finished. |
void |
onSPRStateChanged(SPRState newState)
Called when the SPR-runtime state changes. |
boolean |
parseSetOverrideAnswer(Message answer)
Parse the "set override"-SSR answer. |
void |
removeApplicationOverrideListener(IApplicationOverrideListener listener)
Remove an application override listener. |
void |
setNoPausing(boolean noPausing)
Setter for the NoPausing parameter. |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.Module |
|---|
getComponentType, getComponentVersion |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent |
|---|
addInPort, addInPort, addOutPort, addOutPort, addParameter, getChecksum, getExpressionSegmentString, getInPort, getInPorts, getInstanceName, getName, getOutPort, getOutPorts, getParameter, getParameterList, getSPR, hasSameDataAs, onAsyncEvent, onInitialize, onSerialization, onSPRStateChangedSync, setInstanceName, setName, toString, tryGetParameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationStateModule()
| Method Detail |
|---|
public OutPort getEffectiveOverrideOut()
public OutPort getStopMotionRequestOut()
public OutPort getApplicationStateOut()
public InPort getSafetyStopStateIn()
public InPort getAdditionalStopRequestIn()
public void setNoPausing(boolean noPausing)
noPausing - NoPausing parameter.public ApplicationStateModule.PauseState getPauseState()
public double getEffectiveOverride()
public double getManualOverride()
public double getApplicationOverride()
public SSR createPausingRequest()
public SSR createPausedRequest()
public SSR createResumingRequest()
public SSR createResumedRequest()
public SSR createGetManualOverrideRequest()
public SSR createGetEffectiveOverrideRequest()
public SSR createGetApplicationOverrideRequest()
public SSR createSetManualOverrideRequest(double value)
value - new override value
public SSR createSetApplicationOverrideRequest(double value)
value - new override value
public SSR createSetManualOverrideClipRequest(double value)
value - new override clipping value
public SSR createSetApplicationOverrideClipRequest(double value)
value - new override clipping value
public boolean checkEvent(Message message)
message - Message that may contain an event of this module.
true, if the event was processed, otherwise falsepublic boolean checkAnswer(Message answer)
answer - Message containing the answer.
true, when the message could be processed without errors,
otherwise falsepublic boolean parseSetOverrideAnswer(Message answer)
answer - the SSR answer message
protected void onFinished()
onFinished in class SPRComponentpublic void onSPRStateChanged(SPRState newState)
onSPRStateChanged in class SPRComponentnewState - the new SPR statepublic void addApplicationOverrideListener(IApplicationOverrideListener listener)
listener - the listenerpublic void removeApplicationOverrideListener(IApplicationOverrideListener listener)
listener - the listener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||