#include "util/alarm.h"
#include <algorithm>
#include "util/osp_logging.h"
namespace openscreen {
class Alarm::CancelableFunctor { … };
Alarm::Alarm(ClockNowFunctionPtr now_function, TaskRunner& task_runner)
: … { … }
Alarm::~Alarm() { … }
void Alarm::Cancel() { … }
void Alarm::ScheduleWithTask(TaskRunner::Task task,
Clock::time_point desired_alarm_time) { … }
void Alarm::InvokeLater(Clock::time_point now, Clock::time_point fire_time) { … }
void Alarm::TryInvoke() { … }
constexpr Clock::time_point Alarm::kImmediately;
}