Skip to content

EntropyEngine::Core::Concurrency::SignalTreeBase

EntropyEngine::Core::Concurrency::SignalTreeBase

Section titled “EntropyEngine::Core::Concurrency::SignalTreeBase”

Abstract base class for SignalTree to enable polymorphic usage. More…

#include <SignalTree.h>

Inherited by EntropyEngine::Core::Concurrency::SignalTree

Name
virtual~SignalTreeBase() =default
virtual voidset(size_t leafIndex) =0
virtual std::pair< size_t, bool >select(uint64_t & biasFlags) =0
virtual boolisEmpty() const =0
virtual size_tgetCapacity() const =0
virtual voidclear(size_t leafIndex) =0
Name
size_tS_INVALID_SIGNAL_INDEX
class EntropyEngine::Core::Concurrency::SignalTreeBase;

Abstract base class for SignalTree to enable polymorphic usage.

This allows WorkContractGroup to use SignalTree instances of different sizes without templates, selected at runtime based on capacity needs.

virtual ~SignalTreeBase() =default
virtual void set(
size_t leafIndex
) =0

Reimplemented by: EntropyEngine::Core::Concurrency::SignalTree::set

virtual std::pair< size_t, bool > select(
uint64_t & biasFlags
) =0

Reimplemented by: EntropyEngine::Core::Concurrency::SignalTree::select

virtual bool isEmpty() const =0

Reimplemented by: EntropyEngine::Core::Concurrency::SignalTree::isEmpty

virtual size_t getCapacity() const =0

Reimplemented by: EntropyEngine::Core::Concurrency::SignalTree::getCapacity

virtual void clear(
size_t leafIndex
) =0

Reimplemented by: EntropyEngine::Core::Concurrency::SignalTree::clear

static size_t S_INVALID_SIGNAL_INDEX = ~0ULL;

Updated on 2026-01-26 at 17:14:35 -0500