MapLibre Native Core
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