Common type definitions and concepts for the C++ wrapper layer.
More...
#include <ove/ove.h>
#include <cstdint>
#include <cstddef>
#include <chrono>
#include <concepts>
#include <type_traits>
#include <utility>
Go to the source code of this file.
|
| namespace | ove |
| | Top-level namespace for all oveRTOS C++ abstractions.
|
| |
|
| concept | ove::ThreadEntry |
| | Concept satisfied by any callable convertible to void(*)(void*).
|
| |
|
| template<typename Rep , typename Period > |
| constexpr uint64_t | ove::to_timeout_ns (std::chrono::duration< Rep, Period > d) noexcept |
| | Convert a chrono duration to uint64_t nanoseconds for the C API.
|
| |
| constexpr uint64_t | ove::to_deadline_ns (steady_clock::time_point tp) noexcept |
| | Convert an ove::steady_clock::time_point to uint64_t nanoseconds for the substrate's _until APIs.
|
| |
|
| constexpr std::chrono::nanoseconds | ove::wait_forever = std::chrono::nanoseconds::max() |
| | Sentinel duration meaning "block indefinitely".
|
| |
Common type definitions and concepts for the C++ wrapper layer.