Banuba SDK
|
Classes | |
class | bnb::interfaces::egl_context |
class | bnb::interfaces::image_releaser |
Only android interface. More... | |
class | bnb::interfaces::log_record_callback |
struct | bnb::subscription_request_t |
class | bnb::base_event_iface |
class | bnb::base_event< Event, MaxElements > |
class | bnb::time_stamped_event< Event > |
class | bnb::simple_event< T, Count > |
class | bnb::empty_event< Count > |
class | bnb::effect_event |
class | bnb::identified_class< IdType, T > |
class | bnb::spin_lock |
class | bnb::spin_mutex |
struct | bnb::static_pool_allocator< T, MAX_ELEMENTS > |
Doesn't support N allocs (std::vector) More... | |
struct | bnb::static_pool_allocator< T, MAX_ELEMENTS >::rebind< U > |
class | bnb::static_pool_allocator_fallback< T, MAX_ELEMENTS, Alloc_fallback > |
class | bnb::singleton< T > |
Base class for all scoped singletons. More... | |
Macros | |
#define | BNB_EXPORT __attribute__((__visibility__("default"))) |
#define | BNB_OS_ANDROID 0 |
#define | BNB_OS_IOS 0 |
#define | BNB_OS_LINUX 0 |
#define | BNB_OS_MACOS 0 |
#define | BNB_OS_EMSCRIPTEN 0 |
#define | BNB_OS_UNIX 0 |
#define | BNB_OS_WINDOWS 0 |
#define | BNB_OS_WINDOWS_ARM64 0 |
#define | BNB_APPLE 0 |
#define | BNB_ASSERT(expr) |
#define | BNB_ASSERT_MSG(expr, msg) |
#define | BNB_CHECK(expr) |
#define | BNB_CHECK_MSG(expr, msg) |
Typedefs | |
using | bnb::event_id_t = size_t |
using | bnb::handler_id_t = size_t |
using | bnb::base_event_ptr = std::shared_ptr<const base_event_iface> |
using | bnb::base_event_deleter = std::function<void(const bnb::base_event_iface*)> |
template<typename T > | |
using | bnb::event_uptr = std::unique_ptr<T, base_event_deleter> |
using | bnb::base_event_uptr = event_uptr<const base_event_iface> |
typedef char | char8_t |
Functions | |
template<typename T , typename... Args> | |
std::unique_ptr< T, base_event_deleter > | bnb::make_unique_event (Args &&... args) |
template<typename T , typename Alloc , typename D , typename... Args> | |
std::unique_ptr< T, D > | bnb::allocate_unique (Alloc alloc, Args &&... args) |
template<typename Class > | |
size_t | bnb::class_unique_id () |
T * | bnb::static_pool_allocator< T, MAX_ELEMENTS >::allocate (std::size_t n) |
T * | bnb::static_pool_allocator< T, MAX_ELEMENTS >::allocate (std::size_t n, const std::nothrow_t &) noexcept |
void | bnb::static_pool_allocator< T, MAX_ELEMENTS >::deallocate (T *p, std::size_t n) |
bool | bnb::static_pool_allocator< T, MAX_ELEMENTS >::is_mine (T *p) |
#define BNB_ASSERT | ( | expr | ) |
Definition at line 11 of file assert.hpp.
#define BNB_ASSERT_MSG | ( | expr, | |
msg ) |
Definition at line 12 of file assert.hpp.
#define BNB_CHECK | ( | expr | ) |
Definition at line 14 of file assert.hpp.
#define BNB_CHECK_MSG | ( | expr, | |
msg ) |
Definition at line 19 of file assert.hpp.
#define BNB_EXPORT __attribute__((__visibility__("default"))) |
using bnb::base_event_deleter = std::function<void(const bnb::base_event_iface*)> |
using bnb::base_event_ptr = std::shared_ptr<const base_event_iface> |
using bnb::base_event_uptr = event_uptr<const base_event_iface> |
using bnb::event_uptr = std::unique_ptr<T, base_event_deleter> |
|
inline |
Definition at line 103 of file static_pool_allocator.hpp.
|
inlinenoexcept |
Definition at line 114 of file static_pool_allocator.hpp.
|
inline |
Definition at line 13 of file allocate_unique.hpp.
size_t bnb::class_unique_id | ( | ) |
Definition at line 11 of file class_unique_id.hpp.
|
inline |
Definition at line 136 of file static_pool_allocator.hpp.
|
inline |
Definition at line 155 of file static_pool_allocator.hpp.
|
inline |
bnb::static_pool_allocator< T, MAX_ELEMENTS >::static_data_t::static_data_t | ( | ) |
Definition at line 92 of file static_pool_allocator.hpp.