Skip to navigation

holoscan::LifecycleAccessPolicy

Beta
View as MarkdownOpen in Claude

Restrict lifecycle-control authority already admitted by a plan.

The target and stage spans are borrowed only for the duration of the mint or restriction call. The returned handle copies and normalizes them. Empty spans deny every target or stage respectively; a policy can never add authority absent from the accepted execution plan.

#include <holoscan/lifecycle_control.hpp>

Member variables

NameTypeDescription
allowed_targetsstd::span< const OperatorRef >Run-bound targets copied by the handle.
allowed_from_stagesstd::span< const LifecycleStage >Forward-stage subset copied by handle.