|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.AbstractEngine
com.kuka.roboticsAPI.deviceModel.DeviceFactory
public class DeviceFactory
Base implementation of a device factory. Custom implementations may subclass from here.
| Constructor Summary | |
|---|---|
DeviceFactory(RoboticsAPIContext context)
Creates a new instance of the device factory. |
|
| Method Summary | |
|---|---|
Device |
createDevice(Controller controller,
String name,
String fqcn,
ITransformation deviceRoot)
Creates the device for the given controller, device name and the proposed class name. |
Class<? extends IEngine> |
getEngineType()
Gets the type of the engine. |
| Methods inherited from class com.kuka.roboticsAPI.AbstractEngine |
|---|
dispose, getContext, initialize, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.kuka.roboticsAPI.IEngine |
|---|
dispose, getContext, initialize, setParameters |
| Constructor Detail |
|---|
public DeviceFactory(RoboticsAPIContext context)
context - The context to which the factory is bound.| Method Detail |
|---|
public Device createDevice(Controller controller,
String name,
String fqcn,
ITransformation deviceRoot)
Please note that the device must be initialized after this call.
The call should fail with a runtime exception when the device could not be created.
createDevice in interface IDeviceFactorycontroller - The controller to which the device is attached.name - The name of the device.fqcn - The full qualified class name as a proposal for the device
type. Will be a subclass of Device.deviceRoot - The desired root frame for this device.
public Class<? extends IEngine> getEngineType()
getEngineType in interface IEnginegetEngineType in class AbstractEngine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||