Scope Exit Architecture#
Scope Exit Architecture
|
status: draft
security: YES
safety: ASIL_B
|
||||
Scope Exit
|
status: valid
security: YES
safety: ASIL_B
|
||||
The Scope Exit component contains RAII scope guards that invoke a callable on scope exit unless released.
|
|||||
Scope Exit Static view
|
status: valid
security: YES
safety: ASIL_B
|
||||
|
|||||
Interfaces#
Constructor
|
status: valid
security: YES
safety: ASIL_B
|
||||
Creates an active scope guard that owns the supplied callback. |
|||||
Destructor
|
status: valid
security: YES
safety: ASIL_B
|
||||
Invokes the callback once when the active scope guard is destroyed. |
|||||
Release
|
status: valid
security: YES
safety: ASIL_B
|
||||
Deactivates the scope guard so destruction does not invoke its callback. |
|||||
Transfer Callback Ownership
|
status: valid
security: YES
safety: ASIL_B
|
||||
Transfers callback ownership during move construction or move assignment. |
|||||