summaryrefslogtreecommitdiff
path: root/include/timer.h
blob: b6fd62281b8a1a6b90441873ac7f89bb6926a185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class InspTimer
{
 private:
	time_t trigger;
 public:
	virtual InspTimer(long secs_from_now) : trigger(time(NULL) + secs_from_now) { }
	virtual ~InspTimer() { }
	virtual time_t GetTimer()
	{
		return trigger;
	}
	virtual void Tick(time_t TIME) {}
};