Package edu.wpi.first.wpilibj.internal
Class DriverStationModeThread
java.lang.Object
edu.wpi.first.wpilibj.internal.DriverStationModeThread
- All Implemented Interfaces:
AutoCloseable
public class DriverStationModeThread extends Object implements AutoCloseable
-
Constructor Summary
Constructors Constructor Description DriverStationModeThread()
Internal use only. -
Method Summary
Modifier and Type Method Description void
close()
void
inAutonomous(boolean entering)
Only to be used to tell the Driver Station what code you claim to be executing for diagnostic purposes only.void
inDisabled(boolean entering)
Only to be used to tell the Driver Station what code you claim to be executing for diagnostic purposes only.void
inTeleop(boolean entering)
Only to be used to tell the Driver Station what code you claim to be executing for diagnostic purposes only.void
inTest(boolean entering)
Only to be used to tell the Driver Station what code you claim to be executing for diagnostic purposes only.
-
Constructor Details
-
DriverStationModeThread
public DriverStationModeThread()Internal use only.
-
-
Method Details
-
inDisabled
Only to be used to tell the Driver Station what code you claim to be executing for diagnostic purposes only.- Parameters:
entering
- If true, starting disabled code; if false, leaving disabled code
-
inAutonomous
Only to be used to tell the Driver Station what code you claim to be executing for diagnostic purposes only.- Parameters:
entering
- If true, starting autonomous code; if false, leaving autonomous code
-
inTeleop
Only to be used to tell the Driver Station what code you claim to be executing for diagnostic purposes only.- Parameters:
entering
- If true, starting teleop code; if false, leaving teleop code
-
inTest
Only to be used to tell the Driver Station what code you claim to be executing for diagnostic purposes only.- Parameters:
entering
- If true, starting test code; if false, leaving test code
-
close
- Specified by:
close
in interfaceAutoCloseable
-