com.kuka.roboticsAPI.applicationModel.tasks
Interface ILegacyRoboticsAPITask

All Superinterfaces:
com.kuka.task.IRoboticsAPITask
All Known Subinterfaces:
IRoboticsAPIApplication
All Known Implementing Classes:
RoboticsAPIApplication, RoboticsAPIBackgroundTask, RoboticsAPICyclicBackgroundTask, RoboticsAPITask, SunriseApplication

public interface ILegacyRoboticsAPITask
extends com.kuka.task.IRoboticsAPITask

RoboticsAPI basic task interface. Implement this interface if you want to get a task which supports all the features of the RoboticsAPI.

Note that a valid robotics task must always have a valid RoboticsAPIContext ( see getContext() for details).

All methods of this interface will be called from the RoboticsAPI framework during the task life cycle. Notice that every method may be called from mutually different threads, with the exception of IRoboticsAPITask.initialize() and IRoboticsAPITask.run(), which will be run from the same thread.


Method Summary
 RoboticsAPIContext getContext()
          Gets the context of this task.
 com.kuka.task.ITaskLogger getLogger()
          Gets the logger of this task.
 
Methods inherited from interface com.kuka.task.IRoboticsAPITask
dispose, initialize, run
 

Method Detail

getContext

RoboticsAPIContext getContext()
Gets the context of this task.

Returns:
The context of this task.
This element is not in its final state and might change in future versions.

getLogger

com.kuka.task.ITaskLogger getLogger()
Gets the logger of this task.

May be used to log information for diagnostics and visualization purposes.

Returns:
The logger of this task.
This element is not in its final state and might change in future versions.


Copyright © 2019. All rights reserved.