Some useful utils. More...
|
Namespaces | |
| mavconn | |
| mavconn::utils | |
Functions | |
| template<typename... Args> | |
| std::string | mavconn::utils::format (const std::string &fmt, Args...args) |
| Make printf-formatted std::string. More... | |
| constexpr size_t | mavconn::utils::operator""_KiB (unsigned long long sz) |
| template<typename... Args> | |
| bool | mavconn::utils::set_this_thread_name (const std::string &name, Args &&...args) |
| Set name to current thread, printf-like. More... | |
| template<typename T > | |
| const std::string | mavconn::utils::to_string_ss (T &obj) |
| Convert to string objects with operator <<. More... | |
Some useful utils.
| std::string mavconn::utils::format | ( | const std::string & | fmt, |
| Args... | args | ||
| ) |
Make printf-formatted std::string.
Definition at line 35 of file thread_utils.h.
Definition at line 78 of file thread_utils.h.
| bool mavconn::utils::set_this_thread_name | ( | const std::string & | name, |
| Args &&... | args | ||
| ) |
Set name to current thread, printf-like.
| [in] | name | name for thread |
Definition at line 55 of file thread_utils.h.
|
inline |
Convert to string objects with operator <<.
Definition at line 71 of file thread_utils.h.