Ignore:
Timestamp:
Jul 9, 2009, 11:08:45 AM (15 years ago)
Author:
Christoph Mayer
Message:

timer reset function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/system/Timer.h

    r3690 r4828  
    6565        ~Timer();
    6666
     67        /**
     68         * Set the interval for the timer
     69         *
     70         * @param millis Timer interval in milliseconds
     71         * @param oneshot Is this a one-shot or periodic timer
     72         */
    6773        void setInterval(unsigned int millis, bool oneshot=false);
     74
     75        /**
     76         * Start the timer
     77         */
    6878        void start();
     79
     80        /**
     81         * Stop the timer
     82         */
    6983        void stop();
     84
     85        /**
     86         * Reset a running timer and ignore the remaining interval
     87         * time. Start the timer with a new timer interval.
     88         */
     89        void reset();
    7090
    7191protected:
Note: See TracChangeset for help on using the changeset viewer.