Package xbot.common.controls.sensors
Class XDigitalInput
java.lang.Object
xbot.common.controls.sensors.XDigitalInput
- All Implemented Interfaces:
DataFrameRefreshable,XBaseIO
- Direct Known Subclasses:
DigitalInputWPIAdapter,MockDigitalInput
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionXDigitalInput(DevicePolice police, DeviceInfo info, String owningSystemPrefix) -
Method Summary
Modifier and TypeMethodDescriptionbooleanget()booleanvoidConsumes and processes inputs from the device or subsystem.voidsetInverted(boolean inverted) abstract voidupdateInputs(XDigitalInputs inputs) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface xbot.common.controls.XBaseIO
getChannel
-
Constructor Details
-
XDigitalInput
-
-
Method Details
-
get
public boolean get() -
setInverted
public void setInverted(boolean inverted) -
getInverted
public boolean getInverted() -
updateInputs
-
refreshDataFrame
public void refreshDataFrame()Description copied from interface:DataFrameRefreshableConsumes and processes inputs from the device or subsystem.- Specified by:
refreshDataFramein interfaceDataFrameRefreshable
-