Package edu.wpi.grip.core.sockets
Class SocketHints
- java.lang.Object
-
- edu.wpi.grip.core.sockets.SocketHints
-
public final class SocketHints extends java.lang.Object
Commonly usedSocketHints
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SocketHints.Inputs
TheseSocketHints
should only be used inInputSockets
.static class
SocketHints.Outputs
TheseSocketHints
should only be used inInputSockets
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SocketHint<java.lang.Boolean>
createBooleanSocketHint(java.lang.String identifier, boolean initialValue)
static <T extends java.lang.Enum<T>>
SocketHint<T>createEnumSocketHint(java.lang.String identifier, T defaultValue)
static SocketHint<MatWrapper>
createImageSocketHint(java.lang.String identifier)
static SocketHint<java.lang.Number>
createNumberSocketHint(java.lang.String identifier, java.lang.Number number)
-
-
-
Method Detail
-
createImageSocketHint
public static SocketHint<MatWrapper> createImageSocketHint(java.lang.String identifier)
-
createEnumSocketHint
public static <T extends java.lang.Enum<T>> SocketHint<T> createEnumSocketHint(java.lang.String identifier, T defaultValue)
-
createNumberSocketHint
public static SocketHint<java.lang.Number> createNumberSocketHint(java.lang.String identifier, java.lang.Number number)
-
createBooleanSocketHint
public static SocketHint<java.lang.Boolean> createBooleanSocketHint(java.lang.String identifier, boolean initialValue)
-
-