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

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

public class ServoRobotConnector
extends Object
implements org.robokind.api.common.services.ServiceFactory<Robot,ServoRobotConfig>

ServiceFactory for creating new ServoRobots from ServoRobotConfigs.

Author:
Matthew Stevenson

Field Summary
 
Fields inherited from interface org.robokind.api.common.services.ServiceFactory
PROP_SERVICE_CLASS, PROP_SERVICE_VERSION
 
Constructor Summary
ServoRobotConnector()
           
 
Method Summary
 Robot build(ServoRobotConfig config)
           
 Class<Robot> getServiceClass()
           
 Class<ServoRobotConfig> getServiceConfigurationClass()
           
 org.robokind.api.common.config.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 org.robokind.api.common.config.VersionProperty getServiceVersion()
Specified by:
getServiceVersion in interface org.robokind.api.common.services.ServiceFactory<Robot,ServoRobotConfig>

build

public Robot build(ServoRobotConfig config)
Specified by:
build in interface org.robokind.api.common.services.ServiceFactory<Robot,ServoRobotConfig>

getServiceClass

public Class<Robot> getServiceClass()
Specified by:
getServiceClass in interface org.robokind.api.common.services.ServiceFactory<Robot,ServoRobotConfig>

getServiceConfigurationClass

public Class<ServoRobotConfig> getServiceConfigurationClass()
Specified by:
getServiceConfigurationClass in interface org.robokind.api.common.services.ServiceFactory<Robot,ServoRobotConfig>


Copyright © 2011. All Rights Reserved.