Package edu.wpi.grip.core.sockets
Interface OutputSocket<T>
-
- Type Parameters:
T- The type of the value that this socket stores.
- All Superinterfaces:
Socket<T>
- All Known Implementing Classes:
OutputSocketImpl
public interface OutputSocket<T> extends Socket<T>
Represents the output of anOperation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceOutputSocket.Factory-
Nested classes/interfaces inherited from interface edu.wpi.grip.core.sockets.Socket
Socket.Direction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisPreviewed()voidresetValueToInitial()Resets the value of this socket to its initial value.voidsetPreviewed(boolean previewed)-
Methods inherited from interface edu.wpi.grip.core.sockets.Socket
addConnection, flagChanged, getConnections, getDirection, getSocketHint, getSource, getStep, getValue, onValueChanged, removeConnection, setSource, setStep, setValue, setValueOptional, simpleString
-
-
-
-
Method Detail
-
isPreviewed
boolean isPreviewed()
- Returns:
- Whether or not this socket is shown in a preview in the GUI.
- See Also:
d(boolean)
-
setPreviewed
void setPreviewed(boolean previewed)
- Parameters:
previewed- Iftrue, this socket will be shown in a preview in the GUI.
-
resetValueToInitial
void resetValueToInitial()
Resets the value of this socket to its initial value.
-
-