|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDeviceFactory
This class can create devices for the controllers during the initialization phase. Controller implementations may use this class to let it create their devices.
This is useful, because with a user defined factory, he has the possibility to use custom devices in the RoboticsAPI.
| Method Summary | |
|---|---|
Device |
createDevice(Controller controller,
String name,
String proposedFullQualifiedClassName,
ITransformation deviceRoot)
Creates the device for the given controller, device name and the proposed class name. |
| Methods inherited from interface com.kuka.roboticsAPI.IEngine |
|---|
dispose, getContext, getEngineType, initialize, setParameters |
| Method Detail |
|---|
Device createDevice(Controller controller,
String name,
String proposedFullQualifiedClassName,
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.
controller - The controller to which the device is attached.name - The name of the device.proposedFullQualifiedClassName - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||