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
-
Constructor Summary
ConstructorDescriptionXDigitalInput
(DevicePolice police, DeviceInfo info, String owningSystemPrefix) -
Method Summary
Modifier and TypeMethodDescriptionboolean
get()
boolean
void
Consumes and processes inputs from the device or subsystem.void
setInverted
(boolean inverted) abstract void
updateInputs
(XDigitalInputs inputs) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:DataFrameRefreshable
Consumes and processes inputs from the device or subsystem.- Specified by:
refreshDataFrame
in interfaceDataFrameRefreshable
-