com.kuka.roboticsAPI.geometricModel
Class SceneGraphObjectNameGenerator

java.lang.Object
  extended by com.kuka.roboticsAPI.geometricModel.SceneGraphObjectNameGenerator

public final class SceneGraphObjectNameGenerator
extends Object

Singleton that is intended to create unique names for SceneGraph object instances.

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 Summary
static SceneGraphObjectNameGenerator getInstance()
          Get the single instance.
 String getUniqueName(String prefix)
          Generate a unique Name by appending a sequence number to the given String.
 void resetSequence()
          Resets the internal sequence to 1.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SceneGraphObjectNameGenerator getInstance()
Get the single instance.

Returns:
SceneGraphObjectNameGenerator instance.
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.

getUniqueName

public String getUniqueName(String prefix)
Generate a unique Name by appending a sequence number to the given String. A separator is inserted between the given String and the generated sequence Number.

Parameters:
prefix - the given String that will be extended by the generated Number.
Returns:
String that consists of the given prefix + the separator + the sequence Number.
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.

resetSequence

public void resetSequence()
Resets the internal sequence to 1.

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.


Copyright © 2019. All rights reserved.