Package ca.team3161.lib.utils
Interface ComposedComponent<T>
-
- Type Parameters:
T
- the type of component which this component is wrapped around. For some complex types, more than one component is being wrapped and so this parameter may not carry much useful information.
- All Known Implementing Classes:
ArcadeDrivetrain
,EncoderPIDSrc
,GyroAnglePIDSrc
,MecanumDrivetrain
,PIDDrivetrain
,PIDulum
,PotentiometerVoltagePIDSrc
,RampingSpeedController
,SimplePID
,SpeedControllerGroup
,TankDrivetrain
,TractionController
,VelocityController
public interface ComposedComponent<T>
Interface describing a logical component which is composed of (or wrapped around) another component, either logical or physical. Physical components cannot be wrapped around other components - these include WPI base classes such as SpeedControllers (including Talons, Jaguars, etc), Potentiometers, Gyros, etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<T>
getComposedComponents()
Get the composed components within this one.
-
-
-
Method Detail
-
getComposedComponents
java.util.Collection<T> getComposedComponents()
Get the composed components within this one.- Returns:
- the composed components.
-
-