struct Lapis::Core::SignalSlotEntry

Overview

Flat open-addressed hash bucket representing a unique (emitter_id, signal_hash) slot.

Defined in:

lapis/core/static_signal_table.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

try?(&)
try?
try?

Constructor Detail

def self.empty : self #

def self.new(emitter_id : UInt64 = 0_u64, signal_hash : UInt64 = 0_u64, head_index : Int32 = -1, tail_index : Int32 = -1, active_count : Int32 = 0, emission_count : UInt64 = 0_u64, occupied : Bool = false) #

Instance Method Detail

def active_count : Int32 #

def active_count=(active_count : Int32) #

def emission_count : UInt64 #

def emission_count=(emission_count : UInt64) #

def emitter_id : UInt64 #

def emitter_id=(emitter_id : UInt64) #

def head_index : Int32 #

def head_index=(head_index : Int32) #

def occupied : Bool #

def occupied=(occupied : Bool) #

def signal_hash : UInt64 #

def signal_hash=(signal_hash : UInt64) #

def tail_index : Int32 #

def tail_index=(tail_index : Int32) #