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

Public Types

using time_stamp_t = std::chrono::time_point<std::chrono::high_resolution_clock>
 
- Public Types inherited from bnb::base_event< Event, MaxElements >
using allocator = static_pool_allocator_fallback<Event, MaxElements>
 

Public Attributes

const time_stamp_t time_stamp
 

Additional Inherited Members

- Public Member Functions inherited from bnb::base_event< Event, MaxElements >
event_id_t get_type_id () const noexcept final
 
- Public Member Functions inherited from bnb::base_event_iface
- 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
 
- Static Public Attributes inherited from bnb::base_event< Event, MaxElements >
static const event_id_t id = identified_class<event_id_t, Event>::get_id()
 

Detailed Description

template<typename Event>
class bnb::time_stamped_event< Event >

Definition at line 67 of file event.hpp.

Member Typedef Documentation

◆ time_stamp_t

template<typename Event >
using bnb::time_stamped_event< Event >::time_stamp_t = std::chrono::time_point<std::chrono::high_resolution_clock>

Definition at line 70 of file event.hpp.

Constructor & Destructor Documentation

◆ time_stamped_event()

template<typename Event >
bnb::time_stamped_event< Event >::time_stamped_event ( )
inline

Definition at line 71 of file event.hpp.

72 : time_stamp(std::chrono::high_resolution_clock::now())
73 {
74 }

Member Data Documentation

◆ time_stamp

template<typename Event >
const time_stamp_t bnb::time_stamped_event< Event >::time_stamp

Definition at line 75 of file event.hpp.


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