Skip to content
Tsukini edited this page Oct 4, 2026 · 1 revision

Note

Section _CustomType (group _Tools) · Namespace utils::type · Headers utils/type/

Custom types used by the library and usable by your project.

Table of Contents

Overview

Page Define Content
Vector _Vector Vector2<T>, Vector3<T> (checked) and OVector2<T>, OVector3<T> (optimized)
Matrix _Matrix Matrix<T> (checked) and OMatrix<T> (optimized)
BLT _BLT BidirectionalLookupTable<L, R>
- _CustomType Freezable, Worker (below)

Freezable

Base class of an object that can be locked against edition (used by BidirectionalLookupTable).

Method Description
Freezable(frozen = false) Initial state
freeze() / isFrozen() Freeze for good / state
requireUnfrozen() Throw Frozen when frozen (call it at the start of an edition method)
requireFrozen() Throw ShouldBeFrozen when not frozen

Worker

Base class of the workers of a LoadBalancer (System).

Method Description
setWorkingStatus(bool) Mark the worker working / free (give it back to the balancer with false)
isWorking() State
getStopedWorkingTimestamp() When it became free (used by the lifespan of the balancer)

Clone this wiki locally