Safety Attention Plugin#
-
class SafetyAttentionModuleScope#
Initialization-only creator routing; serialize with all registry/builder/graph-creation operations. Plugins capture a borrowed owner; clones retain it. The owner must outlive every plugin and graph.
Public Functions
- explicit SafetyAttentionModuleScope(
- SafetyAttentionModules &modules
-
~SafetyAttentionModuleScope() noexcept#
-
SafetyAttentionModuleScope(SafetyAttentionModuleScope const&) = delete#
- SafetyAttentionModuleScope &operator=(
- SafetyAttentionModuleScope const&
- ISafePluginCreatorV3One &trt_edgellm::safety::safetyAttentionCreator(
- AttentionRole role
Obtain a process-lifetime creator owned by the linked Safety plugin DSO. The DSO must remain loaded until process exit, like the Safety registry itself.