MapLibre Native Core
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
Typedefs
a
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerations
a
b
c
e
f
h
i
k
l
m
n
o
r
s
t
v
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Related Functions
a
b
e
i
m
o
s
t
Files
File List
File Members
All
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
timer.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mbgl/util/noncopyable.hpp
>
4
#include <
mbgl/util/chrono.hpp
>
5
6
#include <memory>
7
#include <functional>
8
9
namespace
mbgl
{
10
namespace
util {
11
12
class
Timer
:
private
util::noncopyable
{
13
public
:
14
Timer
();
15
~Timer
();
16
17
void
start
(
Duration
timeout,
Duration
repeat, std::function<
void
()>&&);
18
void
stop
();
19
20
private
:
21
class
Impl;
22
std::unique_ptr<Impl> impl;
23
};
24
25
}
// namespace util
26
}
// namespace mbgl
chrono.hpp
mbgl::util::Timer
Definition:
timer.hpp:12
mbgl::util::Timer::stop
void stop()
mbgl::util::Timer::~Timer
~Timer()
mbgl::util::Timer::start
void start(Duration timeout, Duration repeat, std::function< void()> &&)
mbgl::util::Timer::Timer
Timer()
mbgl::util::non_copyable_::noncopyable
Definition:
noncopyable.hpp:9
mbgl
Definition:
actor.hpp:15
mbgl::Duration
Clock::duration Duration
Definition:
chrono.hpp:18
noncopyable.hpp
include
mbgl
util
timer.hpp
MapLibre website
|
GitHub repository