Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::dataplane::HostActionSurface Class Referenceabstract

A framework-agnostic host command channel. More...

#include <host_surfaces.hpp>

Public Member Functions

virtual ~HostActionSurface ()=default
bool send_host_action (std::string_view action, std::string_view args_json)

Protected Member Functions

virtual bool do_send_host_action (std::string_view action, std::string_view args_json)=0

Detailed Description

A framework-agnostic host command channel.

A view calls send_host_action("insert_slot", R"({"index":2})") and the host routes it; the bool is a routing/diagnostic signal (log/assert on unhandled), NEVER control flow. Return payloads and async completion are deliberately deferred until two real consumers need them. The action/args_json vocabulary matches NativeImportHostActionDescriptor so the import lane and the runtime lane stay one concept.

Constructor & Destructor Documentation

◆ ~HostActionSurface()

virtual pulp::dataplane::HostActionSurface::~HostActionSurface ( )
virtualdefault

Member Function Documentation

◆ do_send_host_action()

virtual bool pulp::dataplane::HostActionSurface::do_send_host_action ( std::string_view action,
std::string_view args_json )
protectedpure virtual

◆ send_host_action()

bool pulp::dataplane::HostActionSurface::send_host_action ( std::string_view action,
std::string_view args_json )
inline

The documentation for this class was generated from the following file:
  • /home/runner/work/pulp/pulp/core/dataplane/include/pulp/dataplane/host_surfaces.hpp