Package yarp

Class RateThread

  • Direct Known Subclasses:
    RateThreadWrapper

    public class RateThread
    extends java.lang.Object
    • Field Detail

      • swigCMemOwn

        protected transient boolean swigCMemOwn
    • Constructor Detail

      • RateThread

        protected RateThread​(long cPtr,
                             boolean cMemoryOwn)
    • Method Detail

      • getCPtr

        protected static long getCPtr​(RateThread obj)
      • finalize

        protected void finalize()
        Overrides:
        finalize in class java.lang.Object
      • delete

        public void delete()
      • threadInit

        public boolean threadInit()
      • threadRelease

        public void threadRelease()
      • run

        public void run()
      • start

        public boolean start()
      • step

        public boolean step()
      • stop

        public void stop()
      • askToStop

        public void askToStop()
      • isRunning

        public boolean isRunning()
      • isSuspended

        public boolean isSuspended()
      • setRate

        public boolean setRate​(int p)
      • getRate

        public double getRate()
      • suspend

        public void suspend()
      • resume

        public void resume()
      • resetStat

        public void resetStat()
      • getEstPeriod

        public double getEstPeriod()
      • getIterations

        public long getIterations()
      • getEstUsed

        public double getEstUsed()
      • beforeStart

        public void beforeStart()
      • afterStart

        public void afterStart​(boolean success)
      • setPriority

        public int setPriority​(int priority,
                               int policy)
      • setPriority

        public int setPriority​(int priority)
      • getPriority

        public int getPriority()