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

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()
           
 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>

getServiceConfigurationClass

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


Copyright © 2011-2012. All Rights Reserved.