org.robokind.api.interpolation
Class InterpolatorFactory
java.lang.Object
org.robokind.api.interpolation.InterpolatorFactory
- All Implemented Interfaces:
- org.robokind.api.common.utils.Factory<Interpolator>
- Direct Known Subclasses:
- BezierInterpolatorFactory, CSplineInterpolatorFactory, LinearInterpolatorFactory
public abstract class InterpolatorFactory
- extends Object
- implements org.robokind.api.common.utils.Factory<Interpolator>
- Author:
- Matthew Stevenson
Method Summary |
abstract Interpolator |
create()
|
abstract org.robokind.api.common.config.VersionProperty |
getVersion()
Returns the VersionProperty of the Interpolator created by the Factory. |
protected static void |
register(InterpolatorFactory factory)
Static utility method for registering new InterpolatorFactories with the
InterpolatorDirector, making it accessible to the rest of the platform. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterpolatorFactory
public InterpolatorFactory()
create
public abstract Interpolator create()
- Specified by:
create
in interface org.robokind.api.common.utils.Factory<Interpolator>
getVersion
public abstract org.robokind.api.common.config.VersionProperty getVersion()
- Returns the VersionProperty of the Interpolator created by the Factory.
- Returns:
- VersionProperty of the Interpolator created by the Factory
register
protected static void register(InterpolatorFactory factory)
- Static utility method for registering new InterpolatorFactories with the
InterpolatorDirector, making it accessible to the rest of the platform.
- Parameters:
factory
- InterpolatorFactory to register
Copyright © 2011. All Rights Reserved.