|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
com.kuka.roboticsAPI.motionModel.CommandDataSource
public abstract class CommandDataSource
Base class for data sources which can interact with a command while command will be executed.
Used by commands which need a continuous data flow with the application during their execution.
| Constructor Summary | |
|---|---|
protected |
CommandDataSource()
Creates a new data source. |
| Method Summary | |
|---|---|
void |
cancel()
Marks that the source is in cancel state. |
Device |
getDevice()
Gets device associated with this data source. |
boolean |
isCancel()
Gets whether this data source is in cancel state. |
protected void |
onSetDevice(Device device)
For subclasses. |
void |
reset()
Resets this data source. |
void |
setDevice(Device device)
Sets the device associated with this data source. |
String |
toString()
|
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected CommandDataSource()
| Method Detail |
|---|
public void reset()
public boolean isCancel()
public void cancel()
public String toString()
toString in class Objectpublic final void setDevice(Device device)
device - The device associated with this data source.protected void onSetDevice(Device device)
This happens during execution start.
device - The device that was set for this data source.public Device getDevice()
The device is available after the command was sent to the controller.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||