Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Typedefs | Functions | Variables
basic_types.cpp File Reference
#include <cstdint>
#include <cinttypes>
#include <cstring>
#include <ctime>
#include <algorithm>
#include <jau/debug.hpp>
#include <jau/basic_types.hpp>
#include <jau/functional.hpp>
#include <jau/math/math_error.hpp>
Include dependency graph for basic_types.cpp:

Go to the source code of this file.

Typedefs

typedef int32_t os_clockid_t
 

Functions

static snsize_t hexCharByte_ (const uint8_t c)
 
static bool jau_has_pthread_cond_clockwait () noexcept
 
static int pthread_cond_clockwait (pthread_cond_t *__cond, pthread_mutex_t *__mutex, os_clockid_t __clock_id, const struct timespec *__abstime)
 

Variables

static const char * HEX_ARRAY_BIG = "0123456789ABCDEF"
 
static const char * HEX_ARRAY_LOW = "0123456789abcdef"
 
static constexpr const uint64_t MilliPerOne = 1'000UL
 
static constexpr const uint64_t NanoPerMilli = 1000'000UL
 
constexpr const uint64_t NanoPerOne = NanoPerMilli*MilliPerOne
 

Typedef Documentation

◆ os_clockid_t

typedef int32_t os_clockid_t

Definition at line 184 of file basic_types.cpp.

Function Documentation

◆ pthread_cond_clockwait()

static int pthread_cond_clockwait ( pthread_cond_t *  __cond,
pthread_mutex_t *  __mutex,
os_clockid_t  __clock_id,
const struct timespec *  __abstime 
)
static

Definition at line 185 of file basic_types.cpp.

Here is the caller graph for this function:

◆ jau_has_pthread_cond_clockwait()

static bool jau_has_pthread_cond_clockwait ( )
staticnoexcept

Definition at line 196 of file basic_types.cpp.

Here is the caller graph for this function:

◆ hexCharByte_()

static snsize_t hexCharByte_ ( const uint8_t  c)
static

Definition at line 400 of file basic_types.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ NanoPerMilli

constexpr const uint64_t NanoPerMilli = 1000'000UL
staticconstexpr

Definition at line 40 of file basic_types.cpp.

◆ MilliPerOne

constexpr const uint64_t MilliPerOne = 1'000UL
staticconstexpr

Definition at line 41 of file basic_types.cpp.

◆ NanoPerOne

constexpr const uint64_t NanoPerOne = NanoPerMilli*MilliPerOne
inlineconstexpr

Definition at line 42 of file basic_types.cpp.

◆ HEX_ARRAY_LOW

const char* HEX_ARRAY_LOW = "0123456789abcdef"
static

Definition at line 463 of file basic_types.cpp.

◆ HEX_ARRAY_BIG

const char* HEX_ARRAY_BIG = "0123456789ABCDEF"
static

Definition at line 464 of file basic_types.cpp.