wpi-32u4-library
Timer.h
Go to the documentation of this file.
1#pragma once
2
3class Timer
4{
5public:
6 Timer(unsigned long interval);
7 bool isExpired();
8 void reset();
9 void reset(unsigned long newInterval);
10
11private:
12 unsigned long expiredTime;
13 unsigned long timeInterval;
14};
Definition: Timer.h:4
Timer(unsigned long interval)
Definition: Timer.cpp:7
unsigned long timeInterval
Definition: Timer.h:13
bool isExpired()
Definition: Timer.cpp:35
void reset()
Definition: Timer.cpp:16
unsigned long expiredTime
Definition: Timer.h:12