Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::reload::ScriptedUiSwapUnit Class Reference

#include <scripted_ui_swap_unit.hpp>

Public Member Functions

 ScriptedUiSwapUnit (view::ScriptedUiSession &session, std::filesystem::path new_script, std::string stage_name="ux")
std::string name () const override
 Human-readable identity, surfaced in LiveSwapResult::failed_stage.
SwapStage to_stage () override
 Build the stage for this unit's pending swap, capturing the current state for rollback.

Constructor & Destructor Documentation

◆ ScriptedUiSwapUnit()

pulp::format::reload::ScriptedUiSwapUnit::ScriptedUiSwapUnit ( view::ScriptedUiSession & session,
std::filesystem::path new_script,
std::string stage_name = "ux" )
inline

Member Function Documentation

◆ name()

std::string pulp::format::reload::ScriptedUiSwapUnit::name ( ) const
inlineoverridevirtual

Human-readable identity, surfaced in LiveSwapResult::failed_stage.

Implements pulp::format::reload::SwapUnit.

◆ to_stage()

SwapStage pulp::format::reload::ScriptedUiSwapUnit::to_stage ( )
inlineoverridevirtual

Build the stage for this unit's pending swap, capturing the current state for rollback.

Called once per transaction, before any stage is applied.

Implements pulp::format::reload::SwapUnit.


The documentation for this class was generated from the following file: