Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::host::ScanResult Struct Reference

#include <isolated_scanner.hpp>

Public Attributes

ScanStatus status = ScanStatus::Crash
std::optional< PluginInfo > descriptor
 The first descriptor, populated only when status == Ok.
std::vector< PluginInfo > descriptors
 Every descriptor the worker emitted, in bundle order, populated only when status == Ok.
int exit_code = -1
 Worker exit status (raw OS exit code, or -1 if it never started / was signal-killed).
std::string error_message
 Human-readable error explanation (stderr tail, "timeout", or "worker not found").

Member Data Documentation

◆ descriptor

std::optional<PluginInfo> pulp::host::ScanResult::descriptor

The first descriptor, populated only when status == Ok.

Kept for callers that key the bundle by one identity (blacklist, cache).

◆ descriptors

std::vector<PluginInfo> pulp::host::ScanResult::descriptors

Every descriptor the worker emitted, in bundle order, populated only when status == Ok.

A CLAP factory can list several plugins per bundle; this is what the directory scanner consumes so an isolated scan enumerates the same set an in-process scan would.

◆ error_message

std::string pulp::host::ScanResult::error_message

Human-readable error explanation (stderr tail, "timeout", or "worker not found").

Stored verbatim so the parent can write it straight into ScanBlacklist::blacklist(..., reason).

◆ exit_code

int pulp::host::ScanResult::exit_code = -1

Worker exit status (raw OS exit code, or -1 if it never started / was signal-killed).

Useful for diagnostics in the result log.

◆ status

ScanStatus pulp::host::ScanResult::status = ScanStatus::Crash

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