Package edu.wpi.grip.core.sockets
Class InputSocketImpl.FactoryImpl
- java.lang.Object
-
- edu.wpi.grip.core.sockets.InputSocketImpl.FactoryImpl
-
- All Implemented Interfaces:
InputSocket.Factory
- Enclosing class:
- InputSocketImpl<T>
public static class InputSocketImpl.FactoryImpl extends java.lang.Object implements InputSocket.Factory
Needed to get around Guice's inability to inject a generic typed factory.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> InputSocket<T>
create(SocketHint<T> hint)
CudaSocket
createCuda(SocketHint<java.lang.Boolean> hint)
-
-
-
Method Detail
-
create
public <T> InputSocket<T> create(SocketHint<T> hint)
- Specified by:
create
in interfaceInputSocket.Factory
-
createCuda
public CudaSocket createCuda(SocketHint<java.lang.Boolean> hint)
- Specified by:
createCuda
in interfaceInputSocket.Factory
-
-