Class Looper

  • Direct Known Subclasses:
    SubsystemLooper

    public abstract class Looper
    extends java.lang.Object
    An abstract for anything that can be looped. Basically a wrapper for a Notifier
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected double period  
      protected edu.wpi.first.wpilibj.Notifier thread  
    • Constructor Summary

      Constructors 
      Constructor Description
      Looper()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void start​(double period)  
      void stop()  
      protected abstract void update()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • thread

        protected edu.wpi.first.wpilibj.Notifier thread
      • period

        protected double period
    • Constructor Detail

      • Looper

        public Looper()
    • Method Detail

      • start

        public void start​(double period)
      • stop

        public void stop()
      • update

        protected abstract void update()