Package edu.wpi.grip.core.sockets
Interface InputSocket<T>
-
- Type Parameters:
T
- The type of the value that this socket stores.
- All Superinterfaces:
Socket<T>
- All Known Implementing Classes:
CudaSocket
,InputSocket.Decorator
,InputSocketImpl
public interface InputSocket<T> extends Socket<T>
Represents the input into anOperation
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
InputSocket.Decorator<T>
A decorator for theInputSocket
.static interface
InputSocket.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 boolean
dirtied()
Checks if the socket has been dirtied and rests it to false.void
onValueChanged()
Should be only called by parent classes.-
Methods inherited from interface edu.wpi.grip.core.sockets.Socket
addConnection, flagChanged, getConnections, getDirection, getSocketHint, getSource, getStep, getValue, removeConnection, setSource, setStep, setValue, setValueOptional, simpleString
-
-
-
-
Method Detail
-
dirtied
boolean dirtied()
Checks if the socket has been dirtied and rests it to false.- Returns:
- True if the socket has been dirtied.
-
onValueChanged
void onValueChanged()
Should be only called by parent classes.- Specified by:
onValueChanged
in interfaceSocket<T>
-
-