Files
CppNet/common/timer/timer.h
2021-04-07 18:45:00 +08:00

24 lines
448 B
C++

// Use of this source code is governed by a BSD 3-Clause License
// that can be found in the LICENSE file.
// Author: caozhiyi (caozhiyi5@gmail.com)
#ifndef COMMON_TIMER_TIMER
#define COMMON_TIMER_TIMER
#include <memory>
#include "timer_interface.h"
namespace cppnet {
std::shared_ptr<Timer> MakeTimer50Ms();
std::shared_ptr<Timer> MakeTimer1Sec();
std::shared_ptr<Timer> MakeTimer1Min();
std::shared_ptr<Timer> MakeTimer1Hour();
}
#endif