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

Internal static event handler registry and compile-time dispatcher. More...

#include <array>
#include <cassert>
#include <cstddef>
#include <tuple>
#include <type_traits>
#include <utility>
#include <variant>
#include "corium/Events.hpp"
#include "corium/internal/CallableTraits.hpp"
#include "corium/internal/FastDelegate.hpp"
#include "corium/internal/Panic.hpp"
#include "corium/internal/VariantIndex.hpp"
#include "corium/policies/StoragePolicies.hpp"
+ Include dependency graph for Reactor.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  corium::BasicReactor< std::variant< Events... >, StoragePolicy >
 Static Event Reactor providing compile-time zero-heap dispatching. More...
 
class  corium::internal::FixedHandlerList< EventType, MaxHandlers, InlineSize >
 Fixed-capacity stack-allocated list of event handlers for a single event type. More...
 

Namespaces

namespace  corium
 
namespace  corium::internal
 

Typedefs

using corium::Reactor = BasicReactor< DefaultEvents >
 Default Reactor alias using DefaultEvents and DefaultStoragePolicy.
 
template<typename EventVariant = DefaultEvents, typename StoragePolicy = DefaultStoragePolicy>
using corium::ReactorT = BasicReactor< EventVariant, StoragePolicy >
 Templated Reactor alias for custom event variant and storage policy.
 

Detailed Description

Internal static event handler registry and compile-time dispatcher.