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
platform.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
namespace
mbgl
{
6
namespace
platform {
7
8
class
Request;
9
11
std::string
uppercase
(
const
std::string
&
string
);
12
14
std::string
lowercase
(
const
std::string
&
string
);
15
17
std::string
getCurrentThreadName
();
18
20
void
setCurrentThreadName
(
const
std::string
& name);
21
23
void
makeThreadLowPriority
();
24
27
void
setCurrentThreadPriority
(
double
priority);
28
29
}
// namespace platform
30
}
// namespace mbgl
mbgl::platform::setCurrentThreadPriority
void setCurrentThreadPriority(double priority)
mbgl::platform::setCurrentThreadName
void setCurrentThreadName(const std::string &name)
Set the name of the current thread, truncated at 15.
mbgl::platform::makeThreadLowPriority
void makeThreadLowPriority()
Makes the current thread low priority.
mbgl::platform::lowercase
std::string lowercase(const std::string &string)
Lowercase a string, potentially using platform-specific routines.
mbgl::platform::getCurrentThreadName
std::string getCurrentThreadName()
Gets the name of the current thread.
mbgl::platform::uppercase
std::string uppercase(const std::string &string)
Uppercase a string, potentially using platform-specific routines.
mbgl::style::expression::dsl::string
std::unique_ptr< Expression > string(std::unique_ptr< Expression >, std::unique_ptr< Expression > def=nullptr)
mbgl
Definition:
actor.hpp:15
include
mbgl
util
platform.hpp
MapLibre website
|
GitHub repository