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