Banuba SDK
Loading...
Searching...
No Matches
bnb::base_event< Event, MaxElements > Class Template Reference
Inheritance diagram for bnb::base_event< Event, MaxElements >:
bnb::base_event_iface bnb::identified_class< event_id_t, Event > bnb::time_stamped_event< Event >

Public Types

using allocator = static_pool_allocator_fallback<Event, MaxElements>
 

Public Member Functions

event_id_t get_type_id () const noexcept final
 
- Public Member Functions inherited from bnb::base_event_iface

Static Public Attributes

static const event_id_t id = identified_class<event_id_t, Event>::get_id()
 

Additional Inherited Members

- Static Public Member Functions inherited from bnb::identified_class< event_id_t, Event >
static const char * get_name () noexcept
 
static event_id_t get_id () noexcept
 

Detailed Description

template<typename Event, size_t MaxElements = 3 * 2>
class bnb::base_event< Event, MaxElements >

Definition at line 51 of file event.hpp.

Member Typedef Documentation

◆ allocator

template<typename Event , size_t MaxElements = 3 * 2>
using bnb::base_event< Event, MaxElements >::allocator = static_pool_allocator_fallback<Event, MaxElements>

Definition at line 62 of file event.hpp.

Member Function Documentation

◆ get_type_id()

template<typename Event , size_t MaxElements = 3 * 2>
event_id_t bnb::base_event< Event, MaxElements >::get_type_id ( ) const
inlinefinalvirtualnoexcept

Implements bnb::base_event_iface.

Definition at line 57 of file event.hpp.

58 {
59 return id;
60 }

Member Data Documentation

◆ id

template<typename Event , size_t MaxElements = 3 * 2>
const event_id_t bnb::base_event< Event, MaxElements >::id = identified_class<event_id_t, Event>::get_id()
inlinestatic

Definition at line 55 of file event.hpp.


The documentation for this class was generated from the following file: