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

#include <reload_transaction.hpp>

Public Types

enum class  Status {
  Swapped , RejectedSignature , RejectedIntegrity , RejectedRevoked ,
  RejectedLoadFailed , RejectedAbiVersion , RejectedNoEntryPoints , RejectedFingerprint ,
  RejectedContract , RejectedCandidateThrew
}

Public Member Functions

bool ok () const
 operator bool () const

Public Attributes

Status status = Status::RejectedLoadFailed
std::string detail
 Short human summary (one line).
std::vector< std::string > issues
 Structured per-field diffs (fingerprint/contract).
ReloadMetrics metrics
 DSP-axis phase timings.

Member Enumeration Documentation

◆ Status

Enumerator
Swapped 

Success: the new processor is live.

RejectedSignature 

Swap-pack Ed25519 signature/signer verification failed, rejected before the image is loaded.

RejectedIntegrity 

Swap-pack per-file SHA-256 failed, or the load target was not a verified member of the pack; rejected before load.

RejectedRevoked 

Swap-pack signer/artifact is on the signed revocation list; rejected before load.

RejectedLoadFailed 

dlopen / LoadLibrary failed.

RejectedAbiVersion 

Built against a different reload-ABI version.

RejectedNoEntryPoints 

Missing a required symbol, or create returned null.

RejectedFingerprint 

C++-ABI-incompatible build (fingerprint mismatch).

RejectedContract 

Parameter contract differs (needs full reload).

RejectedCandidateThrew 

create/define/prepare threw before the swap.

Member Function Documentation

◆ ok()

bool pulp::format::reload::ReloadOutcome::ok ( ) const
inline

◆ operator bool()

pulp::format::reload::ReloadOutcome::operator bool ( ) const
inlineexplicit

Member Data Documentation

◆ detail

std::string pulp::format::reload::ReloadOutcome::detail

Short human summary (one line).

◆ issues

std::vector<std::string> pulp::format::reload::ReloadOutcome::issues

Structured per-field diffs (fingerprint/contract).

◆ metrics

ReloadMetrics pulp::format::reload::ReloadOutcome::metrics

DSP-axis phase timings.

◆ status

Status pulp::format::reload::ReloadOutcome::status = Status::RejectedLoadFailed

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