Shaka Packager SDK
Loading...
Searching...
No Matches
packager
utils
clock.h
1
// Copyright 2023 Google LLC. All rights reserved.
2
//
3
// Use of this source code is governed by a BSD-style
4
// license that can be found in the LICENSE file or at
5
// https://developers.google.com/open-source/licenses/bsd
6
7
#ifndef SHAKA_PACKAGER_CLOCK_H
8
#define SHAKA_PACKAGER_CLOCK_H
9
10
#include <chrono>
11
12
namespace
shaka
{
13
14
class
Clock
{
15
public
:
16
using
time_point = std::chrono::system_clock::time_point;
17
18
virtual
~Clock
() =
default
;
19
20
virtual
time_point now()
noexcept
;
21
};
22
23
}
// namespace shaka
24
25
#endif
// SHAKA_PACKAGER_CLOCK_H
shaka::Clock
Definition
clock.h:14
shaka
All the methods that are virtual are virtual for mocking.
Definition
crypto_flags.cc:66
Generated on Fri Jan 17 2025 22:20:43 for Shaka Packager SDK by
1.9.8