|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.applicationModel.RoboticsAPIApplicationData
public class RoboticsAPIApplicationData
Class to get a robotics API application data.
| Constructor Summary | |
|---|---|
RoboticsAPIApplicationData(RoboticsAPIContext context)
Creates a new RoboticsAPIApplicationData. |
|
| Method Summary | ||
|---|---|---|
|
createFromTemplate(String name)
Creates a SpatialObject (or its specialization) from a template. |
|
void |
dispose()
Clean-up process data when the application gets disposed. |
|
void |
finalizeObject()
Do finalization (cleanup) actions here. |
|
ObjectFrame |
getFrame(String framePath)
Gets a persistent frame with the given path. |
|
IProcessData |
getProcessData(String id)
Requests the process data object with the given identifier from the data source. |
|
void |
save()
Saves all changes to the application data in the data source. |
|
ObjectFrame |
tryGetFrame(String framePath)
Gets a persistent frame with the given path. |
|
IProcessData |
tryGetProcessData(String id)
Requests the process data object with the given identifier from the data source. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoboticsAPIApplicationData(RoboticsAPIContext context)
context - The context for this application data. null is
not allowed.| Method Detail |
|---|
public <T extends SpatialObject> T createFromTemplate(String name)
IApplicationDataSpatialObject (or its specialization) from a template.
createFromTemplate in interface IApplicationDataT - the specialization of the SpatialObjectname - the name of the requested template.
public final ObjectFrame getFrame(String framePath)
IApplicationData
getFrame in interface IApplicationDataframePath - the path of the requested frame.
public final ObjectFrame tryGetFrame(String framePath)
IApplicationData
tryGetFrame in interface IApplicationDataframePath - the path of the requested frame.
null if the frame was not found.public final IProcessData getProcessData(String id)
IApplicationData
getProcessData in interface IApplicationDataid - the identifier of the requested process data object.
public final IProcessData tryGetProcessData(String id)
IApplicationData
tryGetProcessData in interface IApplicationDataid - the identifier of the requested process data object.
null if the
process data object was not found.public final void save()
IApplicationData
save in interface IApplicationDatapublic void finalizeObject()
IFinalizableObject
finalizeObject in interface IFinalizableObjectpublic void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||