mirror of
https://github.com/caozhiyi/CppNet.git
synced 2026-01-12 00:19:01 +08:00
24 lines
448 B
C++
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 |