ApraPipes
1.0
Loading...
Searching...
No Matches
ModuleRegistrations.h
1
// ============================================================
2
// File: declarative/ModuleRegistrations.h
3
// Task D2: Property Binding System
4
//
5
// Declares ensureBuiltinModulesRegistered() which triggers
6
// registration of all built-in modules on first call.
7
// ============================================================
8
9
#pragma once
10
11
namespace
apra
{
12
13
// ============================================================
14
// Ensures all built-in modules are registered with ModuleRegistry.
15
//
16
// This function is thread-safe (uses std::call_once internally).
17
// It should be called before any module lookup/creation.
18
//
19
// Automatically called by:
20
// - JsonParser::parseFile()
21
// - ModuleFactory::build()
22
//
23
// Can also be called explicitly if needed before those.
24
// ============================================================
25
void
ensureBuiltinModulesRegistered
();
26
27
}
// namespace apra
apra
Definition
FrameTypeRegistrations.h:10
apra::ensureBuiltinModulesRegistered
void ensureBuiltinModulesRegistered()
Definition
ModuleRegistrations.cpp:497
base
include
declarative
ModuleRegistrations.h
Source Commit: b9db9d8