com.kuka.roboticsAPI.controllerModel.sunrise.api
Class DefaultAssignment

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.sunrise.api.DefaultAssignment
All Implemented Interfaces:
com.kuka.common.IDataEquatable, ISegment

public class DefaultAssignment
extends Object
implements ISegment

A default assignment between two compounds.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Constructor Summary
DefaultAssignment(SPRComponent destination, SPRComponent source)
          Creates a new default assignment.
DefaultAssignment(SPRComponent destination, SPRComponent source, boolean isLoose)
          Creates a new default assignment.
 
Method Summary
 int getChecksum()
          Returns the checksum for the segment.
 String getComponentType()
          Gets the type of this component.
 String getComponentVersion()
          Gets the version of this component.
 SPRComponent getDestinationCompound()
          Returns the compound of this default assignment whose inports will be connected.
 SPRComponent getSourceCompound()
          Returns the compound of this default assignment whose outports will be connected.
 boolean hasSameDataAs(Object obj)
          
 boolean isLoose()
          Returns whether this assignment is loose (true) or not.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultAssignment

public DefaultAssignment(SPRComponent destination,
                         SPRComponent source)
Creates a new default assignment.

Parameters:
destination - The compound with the inports.
source - The compound with the outports.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

DefaultAssignment

public DefaultAssignment(SPRComponent destination,
                         SPRComponent source,
                         boolean isLoose)
Creates a new default assignment.

Parameters:
destination - The compound with the inports.
source - The compound with the outports.
isLoose - Flag to determine if the assignment should be delayed to the next SPR cycle. True: delay the assignment, false: otherwise.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.
Method Detail

getDestinationCompound

public SPRComponent getDestinationCompound()
Returns the compound of this default assignment whose inports will be connected.

Returns:
The compound of this default assignment whose inports will be connected.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getSourceCompound

public SPRComponent getSourceCompound()
Returns the compound of this default assignment whose outports will be connected.

Returns:
The compound of this default assignment whose outports will be connected.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

toString

public String toString()

Overrides:
toString in class Object
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getChecksum

public int getChecksum()
Returns the checksum for the segment.

Specified by:
getChecksum in interface ISegment
Returns:
The checksum for the segment.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getComponentType

public String getComponentType()
Gets the type of this component.

Specified by:
getComponentType in interface ISegment
Returns:
The type of this component.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getComponentVersion

public String getComponentVersion()
Gets the version of this component.

Specified by:
getComponentVersion in interface ISegment
Returns:
The version of this component.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

hasSameDataAs

public boolean hasSameDataAs(Object obj)

Specified by:
hasSameDataAs in interface com.kuka.common.IDataEquatable
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

isLoose

public boolean isLoose()
Returns whether this assignment is loose (true) or not. Loose means that the assignment will be delayed by one SPR cycle.

Returns:
True if the assignment loose, false otherwise.


Copyright © 2019. All rights reserved.