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

Fluent compile-time builder for custom policy-configured runtimes. More...

+ Include dependency graph for RuntimeBuilder.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  corium::BasicRuntimeBuilder< EventVariant, QueuePolicy, SignalPolicy, StoragePolicy, OverflowPolicy, TimerStoragePolicy, ProfilerPolicy >
 Primary template implementation for fluent compile-time Runtime construction. More...
 
struct  corium::internal::queue_capacity_of< QueuePolicy, typename >
 Extract queue capacity from a QueuePolicy if it exposes a static ::capacity member, rounded up to the nearest power of 2 for power-of-two ring buffer constraints. Falls back to 1024 for policies without a capacity (e.g. NoQueuePolicy). More...
 
struct  corium::internal::queue_capacity_of< QueuePolicy, std::void_t< decltype(QueuePolicy::capacity)> >
 
struct  corium::internal::rebind_queue_capacity< QueuePolicy< EventVariant, HighCap, OldNormalCap, LowCap >, NewCapacity >
 
struct  corium::internal::rebind_queue_capacity< QueuePolicy< EventVariant, OldCapacity >, NewCapacity >
 
struct  corium::internal::rebind_queue_policy< QueuePolicy< OldEventVariant >, NewEventVariant >
 
struct  corium::internal::rebind_queue_policy< QueuePolicy< OldEventVariant, Capacity >, NewEventVariant >
 
struct  corium::internal::rebind_queue_policy< QueuePolicy< OldEventVariant, HighCap, NormalCap, LowCap >, NewEventVariant >
 
struct  corium::RuntimeBuilder
 Fluent compile-time builder for configuring BasicRuntime. Usage: using MyRuntime = corium::RuntimeBuilder::WithEvents<MyEvents>::Build; More...
 

Namespaces

namespace  corium
 
namespace  corium::internal
 

Typedefs

template<typename QueuePolicy , size_t NewCapacity>
using corium::internal::rebind_queue_capacity_t = typename rebind_queue_capacity< QueuePolicy, NewCapacity >::type
 
template<typename QueuePolicy , typename NewEventVariant >
using corium::internal::rebind_queue_policy_t = typename rebind_queue_policy< QueuePolicy, NewEventVariant >::type
 

Functions

template<std::size_t N>
constexpr std::size_t corium::internal::next_power_of_two ()
 Compile-time helper to round up an integer to the next power of 2.
 

Variables

template<typename QueuePolicy >
static constexpr std::size_t corium::internal::queue_capacity_of_v = queue_capacity_of<QueuePolicy>::value
 

Detailed Description

Fluent compile-time builder for custom policy-configured runtimes.