|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.deviceModel.kmp.MovementLockState
public class MovementLockState
A class represents a movement lock state, including type and source.
| Constructor Summary | |
|---|---|
MovementLockState(com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.Message message)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
MovementLockType |
getExternalLockType()
Returns the external lock type. |
MovementLockType |
getInternalLockType()
Returns the internal lock type. |
MovementLockType[] |
getLockStatus()
Returns the internal array used to store the movement lock state. |
MovementLockType |
getLockTypeBySource(MovementLockSource lockSource)
Returns the lock type for the given lock source. |
MovementLockSource |
getSource()
Deprecated. |
MovementLockType |
getType()
Deprecated. |
MovementLockType |
getUndefinedLockType()
Returns the undefined lock type. |
int |
hashCode()
|
boolean |
isLocked()
Returns true if any lock present (either undefined, internal or external sources, programmed or full motion lock). |
boolean |
isMotionEnabled()
Returns true, if the motion is enabled (no internal or external locks are present). |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MovementLockState(com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.Message message)
message - A message returned from the "LockSPR" or "IsLocked" requests.| Method Detail |
|---|
@Deprecated public MovementLockType getType()
@Deprecated public MovementLockSource getSource()
public MovementLockType getUndefinedLockType()
public MovementLockType getInternalLockType()
public MovementLockType getExternalLockType()
public MovementLockType getLockTypeBySource(MovementLockSource lockSource)
lockSource - The source of the lock.
public MovementLockType[] getLockStatus()
public boolean isMotionEnabled()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic boolean isLocked()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||