Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright (c) 2024 Gothel Software e.K. More...
Namespaces | |
namespace | impl |
Classes | |
class | DynamicLinker |
Low level secure dynamic linker access. More... | |
class | DynamicLookup |
Interface callers may use ProcAddressHelper's reset helper method to install function pointers into a ProcAddressTable. More... | |
class | FuncAddrResolver |
class | NativeLibrary |
Runtime libary dynamic library (RTLD) access. More... | |
struct | RuntimeOSInfo |
class | UserInfo |
User account information of the underlying OS. More... | |
Enumerations | |
enum class | abi_type_t : uint16_t { abi_type_t::generic = 0x00 , abi_type_t::gnu_armel = 0x01 , abi_type_t::gnu_armhf = 0x02 , abi_type_t::aarch64 = 0x03 , abi_type_t::wasm32_gen = 0x20 , abi_type_t::wasm32_ems = 0x21 , abi_type_t::wasm64_gen = 0x2a , abi_type_t::wasm64_ems = 0x2b } |
enum class | os_type_t : uint32_t { os_type_t::Unix = 0b00000000000000000000000000000001U , os_type_t::Windows = 0b00000000000000000000000000000010U , os_type_t::Linux = 0b00000000000000000000000100000001U , os_type_t::Android = 0b00000000000000000000001100000001U , os_type_t::FreeBSD = 0b00000000000000000000010000000001U , os_type_t::Darwin = 0b00000000000000000000100000000001U , os_type_t::QnxNTO = 0b00000000000000000001000000000001U , os_type_t::GenWasm = 0b00000001000000000000000000000000U , os_type_t::Emscripten = 0b00000001000000000000000000000001U , os_type_t::native = impl::get_host_os_id() } |
OS type bits and unique IDs. More... | |
Functions | |
constexpr_cxx20 std::string | dir_separator () noexcept |
Returns the OS's path separator as a string, e.g. More... | |
constexpr char | dir_separator_char () noexcept |
Returns the OS's path separator character, e.g. More... | |
abi_type_t | get_abi_type () noexcept |
constexpr abi_type_t | get_abi_type (const jau::cpu::cpu_family_t cpu) noexcept |
std::string | get_os_and_arch () noexcept |
Returns this hosts's common name, see get_os_and_arch() More... | |
std::string | get_os_and_arch (const os_type_t os, const jau::cpu::cpu_family_t cpu, const abi_type_t abi, const endian_t e) noexcept |
Returns the common name for the given os_type, jau::cpu::cpu_family, abi_type and endian. More... | |
std::string | get_platform_info () noexcept |
std::string | get_platform_info (std::string &sb) noexcept |
bool | get_rt_os_info (RuntimeOSInfo &info) noexcept |
constexpr bool | is_android () noexcept |
Evaluates true if platform os_type::native contains os_type::Android. More... | |
constexpr bool | is_darwin () noexcept |
Evaluates true if platform os_type::native contains os_type::Darwin. More... | |
constexpr bool | is_defined_os_type (const os_type_t v) noexcept |
Evaluates true if the given os_type is defined, i.e. More... | |
constexpr bool | is_emscripten () noexcept |
Evaluates true if platform os_type::native contains os_type::Emscripten. More... | |
constexpr bool | is_freebsd () noexcept |
Evaluates true if platform os_type::native contains os_type::FreeBSD. More... | |
constexpr bool | is_generic_wasm () noexcept |
Evaluates true if platform os_type::native contains os_type::GenWasm. More... | |
constexpr bool | is_linux () noexcept |
Evaluates true if platform os_type::native contains os_type::Linux. More... | |
constexpr bool | is_qnxnto () noexcept |
Evaluates true if platform os_type::native contains os_type::QnxNTO. More... | |
constexpr bool | is_set (const os_type_t mask, const os_type_t bits) noexcept |
constexpr bool | is_unix () noexcept |
Evaluates true if platform os_type::native contains os_type::Unix. More... | |
constexpr bool | is_windows () noexcept |
Evaluates true if platform os_type::native contains os_type::Windows. More... | |
constexpr uint32_t | number (const os_type_t rhs) noexcept |
constexpr bool | operator!= (const os_type_t lhs, const os_type_t rhs) noexcept |
constexpr os_type_t | operator& (const os_type_t lhs, const os_type_t rhs) noexcept |
constexpr os_type_t & | operator&= (os_type_t &lhs, const os_type_t rhs) noexcept |
constexpr bool | operator== (const os_type_t lhs, const os_type_t rhs) noexcept |
constexpr os_type_t | operator^ (const os_type_t lhs, const os_type_t rhs) noexcept |
constexpr os_type_t & | operator^= (os_type_t &lhs, const os_type_t rhs) noexcept |
constexpr os_type_t | operator| (const os_type_t lhs, const os_type_t rhs) noexcept |
constexpr os_type_t & | operator|= (os_type_t &lhs, const os_type_t rhs) noexcept |
constexpr os_type_t | operator~ (const os_type_t rhs) noexcept |
constexpr_cxx20 std::string | path_separator () noexcept |
Returns the OS's path separator as a string, e.g. More... | |
constexpr char | path_separator_char () noexcept |
Returns the OS's path separator character, e.g. More... | |
std::string | to_string (const abi_type_t abi) noexcept |
std::string | to_string (const os_type_t mask) noexcept |
Return the string representation of os_type. More... | |
Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright (c) 2024 Gothel Software e.K.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.