org.robokind.api.motion.servos.utils
Class ServoRobotConnector

java.lang.Object
  extended by org.robokind.api.motion.servos.utils.ServoRobotConnector
All Implemented Interfaces:
ServiceFactory<Robot,ServoRobotConfig>

public class ServoRobotConnector
extends Object
implements ServiceFactory<Robot,ServoRobotConfig>

ServiceFactory for creating new ServoRobots from ServoRobotConfigs.

Author:
Matthew Stevenson

Constructor Summary
ServoRobotConnector()
           
 
Method Summary
 Robot build(ServoRobotConfig config)
           
 Class<ServoRobotConfig> getConfigurationClass()
           
 Class<Robot> getServiceClass()
           
 VersionProperty getServiceVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServoRobotConnector

public ServoRobotConnector()
Method Detail

getServiceVersion

public VersionProperty getServiceVersion()
Specified by:
getServiceVersion in interface ServiceFactory<Robot,ServoRobotConfig>

build

public Robot build(ServoRobotConfig config)
Specified by:
build in interface ServiceFactory<Robot,ServoRobotConfig>

getServiceClass

public Class<Robot> getServiceClass()
Specified by:
getServiceClass in interface ServiceFactory<Robot,ServoRobotConfig>

getConfigurationClass

public Class<ServoRobotConfig> getConfigurationClass()
Specified by:
getConfigurationClass in interface ServiceFactory<Robot,ServoRobotConfig>


Copyright © 2011-2012. All Rights Reserved.