|
||||||||||
| 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.ActiveDevice
public class ActiveDevice
A active device has read/write access to drive groups during active phase of an SPR.
| Field Summary | |
|---|---|
static String |
FINISH_MAINTAINING
String identifier for the finish maintaining inport. |
static String |
STOP_REQUEST
String identifier for the stop request inport. |
| Constructor Summary | |
|---|---|
ActiveDevice(String pipeName)
Creates a new active device with a given pipe name. |
|
ActiveDevice(String pipeName,
String deviceName)
Creates a new active device with a given mode and name. |
|
ActiveDevice(String pipeName,
String deviceName,
String alias)
Creates a new active device with a given mode and name. |
|
| Method Summary | |
|---|---|
String |
getAlias()
Gets the alias for the device. |
String |
getComponentType()
Gets the type of this component. |
String |
getComponentVersion()
Gets the version of this component. |
Parameter<Integer> |
getDebug()
Debug parameter. |
InPort |
getFinishMaintainingInport()
Gets the finish maintaining inport of the pipe that can be used to abort the maintaining phase before the maintaining timeout runs out. |
String |
getInstanceName()
Gets the instance name of this compound. |
double |
getMaintainTimeout()
Gets the current maintain timeout for this device. |
String |
getPipeName()
Gets the mode of this active device. |
InPort |
getStopRequest()
|
boolean |
hasSameDataAs(Object obj)
|
void |
setAlias(String alias)
Sets the alias for the device. |
void |
setInstanceName(String instanceName)
Sets the instance name of this compound. |
void |
setMaintainTimeout(double value)
Sets the maintain timeout of this device to the given value. |
void |
setPipeName(String pipeName)
Sets the mode for the active device. |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent |
|---|
addInPort, addInPort, addOutPort, addOutPort, addParameter, getChecksum, getExpressionSegmentString, getInPort, getInPorts, getName, getOutPort, getOutPorts, getParameter, getParameterList, getSPR, onAsyncEvent, onFinished, onInitialize, onSerialization, onSPRStateChanged, onSPRStateChangedSync, setName, toString, tryGetParameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String FINISH_MAINTAINING
public static final String STOP_REQUEST
| Constructor Detail |
|---|
public ActiveDevice(String pipeName)
The name of the device is an empty string and can be set afterwards through the setName method.
pipeName - The mode of the device (e.g. CartImp, LBRGravComp, ...).
public ActiveDevice(String pipeName,
String deviceName)
pipeName - The mode of the device (e.g. CartImp, LBRGravComp, ...).deviceName - The name of the device.
public ActiveDevice(String pipeName,
String deviceName,
String alias)
pipeName - The mode of the device (e.g. CartImp, LBRGravComp, ...).deviceName - The name of the device.alias - The alias for the device.| Method Detail |
|---|
public String getAlias()
public void setAlias(String alias)
alias - The the alias for the device.public final void setPipeName(String pipeName)
pipeName - The mode for the active device.public void setInstanceName(String instanceName)
SPRComponent
setInstanceName in class SPRComponentinstanceName - The instance name for this compound.public String getInstanceName()
SPRComponent
getInstanceName in interface ISprComponentgetInstanceName in class SPRComponentpublic InPort getStopRequest()
public InPort getFinishMaintainingInport()
public double getMaintainTimeout()
public void setMaintainTimeout(double value)
value - The new value for the maintain timeout.public Parameter<Integer> getDebug()
public String getPipeName()
public String getComponentType()
getComponentType in interface ISegmentgetComponentType in class SPRComponentpublic String getComponentVersion()
getComponentVersion in interface ISegmentgetComponentVersion in class SPRComponentpublic boolean hasSameDataAs(Object obj)
hasSameDataAs in interface com.kuka.common.IDataEquatablehasSameDataAs in class SPRComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||