|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.geometricModel.redundancy.AbstractRedundancyCollection<StatusTurnRedundancy>
com.kuka.roboticsAPI.deviceModel.StatusTurnRedundancy
public class StatusTurnRedundancy
Standard KUKA-Robot redundancy information with status and turn.
This is a data object for storing status and turn redundancy information. It
is possible to set only one of the parameter (status or turn). It is possible
to create the empty instance of the class using the default constructor
StatusTurnRedundancy() and then use
"builder pattern" to set the necessary parameters.
| Nested Class Summary | |
|---|---|
static class |
StatusTurnRedundancy.StatusParameter
Parameter for status. |
static class |
StatusTurnRedundancy.TurnParameter
Parameter for Turn. |
| Constructor Summary | |
|---|---|
StatusTurnRedundancy()
Creates an instance of the class. |
|
StatusTurnRedundancy(int status,
int turn)
Creates an instance of the class. |
|
StatusTurnRedundancy(com.kuka.common.params.IParameterSet params)
Creates an instance of the class initialized from the specified parameter set. |
|
StatusTurnRedundancy(IRedundancyCollection source)
Creates an instance of the class from the specified source redundancy. |
|
| Method Summary | |
|---|---|
StatusTurnRedundancy |
copy()
Creates and returns a deep copy of this redundancy collection. |
int |
getStatus()
Gets the status-redundancy-value. |
int |
getTurn()
Gets the turn-redundancy-value. |
StatusTurnRedundancy |
setStatus(int status)
Sets the status-redundancy-value. |
StatusTurnRedundancy |
setTurn(int turn)
Sets the turn-redundancy-value. |
| Methods inherited from class com.kuka.roboticsAPI.geometricModel.redundancy.AbstractRedundancyCollection |
|---|
addParameter, equals, getAllParameters, hashCode, self, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatusTurnRedundancy()
public StatusTurnRedundancy(int status,
int turn)
status - status valueturn - turn valuepublic StatusTurnRedundancy(com.kuka.common.params.IParameterSet params)
params - parameter set with the initial values.public StatusTurnRedundancy(IRedundancyCollection source)
Sets only the initial values of status and turn from the specified redundancy if these values are contained there.
source - source redundancy collection.| Method Detail |
|---|
public int getStatus()
IllegalStateException - if status is not setpublic StatusTurnRedundancy setStatus(int status)
status - The status-redundancy value.
public int getTurn()
IllegalStateException - if turn is not setpublic StatusTurnRedundancy setTurn(int turn)
turn - The turn-redundancy value.
public StatusTurnRedundancy copy()
IRedundancyCollection
copy in interface IRedundancyCollectioncopy in class AbstractRedundancyCollection<StatusTurnRedundancy>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||