|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.SunriseRecordingCommand
public class SunriseRecordingCommand
Class to manage recordingSPRs and DataRecorder.
| Constructor Summary | |
|---|---|
SunriseRecordingCommand(boolean hasTrigger)
Creates a new SunriseRecordingCommand. |
|
| Method Summary | |
|---|---|
void |
acquireResources(ICommandContainer container)
Asks the command to acquire it's resources that are needed for execution. |
Controller |
getController()
Gets the controller to which the command is targeted. |
DataRecorder |
getDataRecorder()
Gets the data recorder configuration. |
RecorderConfiguration |
getRecorderConfiguration()
Gets the recorder configuration. |
SPR |
getRecordingSPR()
Gets the recording SPR. |
ICommandRuntimeData |
getRuntimeData()
Gets the runtime data object associated with the command. |
boolean |
hasTrigger()
Gets the information about whether data recorder is used as trigger or not. |
void |
releaseResources(ICommandContainer container)
Tells the command to release it's resources. |
void |
setDataRecorder(DataRecorder recorder)
Sets the data recorder. |
void |
setRecorderConfiguration(RecorderConfiguration recorderConfiguration)
Sets the recorder configuration. |
void |
setRecordingSPR(SPR recordingSpr)
Sets the recording SPR. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SunriseRecordingCommand(boolean hasTrigger)
hasTrigger - the information about whether data recorder is used as trigger or not.| Method Detail |
|---|
public void setRecordingSPR(SPR recordingSpr)
recordingSpr - the recording SPR.public SPR getRecordingSPR()
public void setRecorderConfiguration(RecorderConfiguration recorderConfiguration)
recorderConfiguration - the recorder configuration.public RecorderConfiguration getRecorderConfiguration()
public DataRecorder getDataRecorder()
public void setDataRecorder(DataRecorder recorder)
recorder - the data recorder.public Controller getController()
IControllerCommand
getController in interface IControllerCommandnull is not allowed!public void acquireResources(ICommandContainer container)
IControllerCommandThis method can block until the resources are available. The method is called before the command is passed to the controller. Implementing classes should throw an exception if preparation fails.
acquireResources in interface IControllerCommandcontainer - The container which will be used for the execution of the
command.public void releaseResources(ICommandContainer container)
IControllerCommand
releaseResources in interface IControllerCommandcontainer - The container which was used for the execution of the command.public ICommandRuntimeData getRuntimeData()
IControllerCommand
getRuntimeData in interface IControllerCommandnull.public boolean hasTrigger()
true if it is used as trigger, false otherwise.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||