Package edu.wpi.first.wpilibj
Class SendableBase
- java.lang.Object
-
- edu.wpi.first.wpilibj.SendableBase
-
- All Implemented Interfaces:
Sendable,AutoCloseable
@Deprecated(since="2020", forRemoval=true) public abstract class SendableBase extends Object implements Sendable, AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.Use Sendable and SendableRegistryBase class for all sensors. Stores most recent status information as well as containing utility functions for checking channels and error processing.
-
-
Constructor Summary
Constructors Constructor Description SendableBase()Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of the sensor base.SendableBase(boolean addLiveWindow)Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of the sensor base.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.wpi.first.wpilibj.Sendable
addChild, getName, getSubsystem, initSendable, setName, setName, setName, setName, setSubsystem
-
-
-
-
Constructor Detail
-
SendableBase
public SendableBase()
Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of the sensor base.
-
SendableBase
public SendableBase(boolean addLiveWindow)
Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of the sensor base.- Parameters:
addLiveWindow- if true, add this Sendable to LiveWindow
-
-
Method Detail
-
close
public void close()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
closein interfaceAutoCloseable
-
-