The spica renderer
Main Page
Modules
Classes
Files
File List
sources
spica
killtimer.h
1
#ifdef _MSC_VER
2
#pragma once
3
#endif
4
5
#ifndef KILL_TIMER_H
6
#define KILL_TIMER_H
7
8
#include <cstdint>
9
#include <thread>
10
11
class
KillTimer
{
12
public
:
13
KillTimer
();
14
KillTimer
(
int
hour,
int
minute,
int
second);
15
16
void
start();
17
void
setExpire(
int
hour,
int
minute,
int
second);
18
19
private
:
20
uint64_t expire_;
21
std::thread thread_;
22
};
23
24
#endif // KILL_TIMER_H
KillTimer
Definition:
killtimer.h:11
Generated by
1.8.6