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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • inDisabled

      public void inDisabled​(boolean entering)
      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

      public void inAutonomous​(boolean entering)
      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

      public void inTeleop​(boolean entering)
      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

      public void inTest​(boolean entering)
      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

      public void close()
      Specified by:
      close in interface AutoCloseable