class
FSystemAccess
Debug validator for declared component access. A system that declares its masks is scheduled concurrently with every system its masks do not conflict with, so a component it touches without declaring is a data race the scheduler cannot see. While a declared system runs (World::RunSystems opens a scope around its Update), every query and component lookup on the World is checked against the union of its read and write masks; a miss is logged once per system and component and counted. Compiled to nothing without MOWO_WITH_ASSERTS. ecs.AccessValidation: 0 off, 1 log (default), 2 also assert, for CI runs that must stay clean.
- Module
- ECS
- Header
#include "ECS/System.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
bool | IsCompiledIn | |
bool | IsChecking | |
void | Check | |
uint64_t | GetViolationCount | |
void | ResetViolations |
Function details
IsCompiledIn
C++
static constexpr bool IsCompiledIn()IsChecking
C++
static bool IsChecking()Check
C++
static void Check(ComponentID id)GetViolationCount
C++
static uint64_t GetViolationCount()ResetViolations
C++
static void ResetViolations()Generated from ECS/System.h via ecs.json · Dec 5, 2026Version 1.1.0