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

Owns the session-stable state for a series of hot reloads of one plugin instance — the slot, the live store, the host fingerprint, the prepare context, and the retained images — so callers (a standalone shell, a file-watch controller) issue reload(path) without re-threading five coupled arguments, and the lifetime contract is enforced by construction. More...

#include <reload_transaction.hpp>

Public Member Functions

 ReloadSession (ProcessorHotSwapSlot &slot, state::StateStore &live_store, const BuildFingerprint &host_fingerprint, const PrepareContext &prepare_ctx)
ReloadOutcome reload (const std::string &library_path)
 Attempt one reload from library_path. See reload_processor_from_library.
std::size_t retained_image_count () const
 Images retained for the process lifetime (one per constructed candidate).

Detailed Description

Owns the session-stable state for a series of hot reloads of one plugin instance — the slot, the live store, the host fingerprint, the prepare context, and the retained images — so callers (a standalone shell, a file-watch controller) issue reload(path) without re-threading five coupled arguments, and the lifetime contract is enforced by construction.

Constructor & Destructor Documentation

◆ ReloadSession()

pulp::format::reload::ReloadSession::ReloadSession ( ProcessorHotSwapSlot & slot,
state::StateStore & live_store,
const BuildFingerprint & host_fingerprint,
const PrepareContext & prepare_ctx )
inline

Member Function Documentation

◆ reload()

ReloadOutcome pulp::format::reload::ReloadSession::reload ( const std::string & library_path)
inline

Attempt one reload from library_path. See reload_processor_from_library.

◆ retained_image_count()

std::size_t pulp::format::reload::ReloadSession::retained_image_count ( ) const
inline

Images retained for the process lifetime (one per constructed candidate).


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