#include <StormByte/error.hxx>#include <StormByte/string/string.hxx>#include <StormByte/system/visibility.h>#include <chrono>#include <string>#include <string_view>#include <system_error>#include <thread>
Go to the source code of this file.
Classes | |
| struct | StormByte::Error::Domain< StormByte::System::ThisThread::Error > |
| Domain for StormByte::System::ThisThread::Error. More... | |
| struct | std::is_error_code_enum< StormByte::System::ThisThread::Error > |
Marks StormByte::System::ThisThread::Error as an std::error_code enum. More... | |
Namespaces | |
| namespace | StormByte |
| namespace | StormByte::System |
| System module of the StormByte suite. | |
| namespace | StormByte::System::ThisThread |
| Calling-thread helpers (the current thread, not a child process). | |
| namespace | std |
| STL namespace. | |
Enumerations | |
| enum class | StormByte::System::ThisThread::Error { StormByte::System::ThisThread::Success = 0 , StormByte::System::ThisThread::TooLong , StormByte::System::ThisThread::Failed } |
| ThisThread enumerators. More... | |
Functions | |
| StormByte::Error::Fault | StormByte::System::ThisThread::LastError () noexcept |
| Last ThisThread error on this thread. | |
| template<typename Rep , typename Period > | |
| void | StormByte::System::ThisThread::Sleep (const std::chrono::duration< Rep, Period > &duration) |
| Suspend the calling thread. | |
| bool | StormByte::System::ThisThread::Name (std::string_view name) |
| Set the calling thread name. | |
| bool | StormByte::System::ThisThread::Name (StormByte::String::String &name) |
| Read the calling thread name. | |
| const StormByte::Error::Category< ThisThread::Error > & | StormByte::System::this_thread_category () noexcept |
| Category singleton for ThisThread::Error. | |
| std::error_code | StormByte::System::make_error_code (ThisThread::Error e) noexcept |
Builds an std::error_code from ThisThread::Error. | |