Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
EventSink.hpp File Reference

Non-allocating type-erased fat pointer handle for lock-free event posting. More...

#include <type_traits>
#include <utility>
#include "corium/Events.hpp"
#include "corium/policies/QueuePolicies.hpp"
+ Include dependency graph for EventSink.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  corium::BasicEventSink< EventVariant >
 Non-virtual type-erased event sink handle (raw pointer + static function pointer). Zero dynamic heap allocations, zero vtables/RTTI. More...
 

Namespaces

namespace  corium
 

Typedefs

using corium::EventSink = BasicEventSink< DefaultEvents >
 Default EventSink alias using DefaultEvents.
 
template<typename EventVariant = DefaultEvents>
using corium::EventSinkT = BasicEventSink< EventVariant >
 Templated EventSink alias for custom event variant list.
 

Detailed Description

Non-allocating type-erased fat pointer handle for lock-free event posting.