Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
control_trace_session_executor.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <memory>
7#include <string_view>
8
9namespace pulp::inspect {
10
12 std::shared_ptr<InspectorMainThreadRpc> main_thread_rpc;
13 std::shared_ptr<TraceInspector> trace_inspector;
15};
16
20 public:
21 static std::unique_ptr<ControlTraceSessionExecutor>
23
26
30 void end_authority(std::string_view opaque_authority_id) noexcept;
32 void disconnect() noexcept;
33
34 private:
35 struct State;
37 ControlMainThreadExecutor main_thread);
38
39 std::shared_ptr<State> state_;
40 ControlMainThreadExecutor main_thread_;
41};
42
43} // namespace pulp::inspect
Adapts typed control execution onto the completion-carrying Inspector main thread RPC without creatin...
Definition control_main_thread_executor.hpp:12
ControlTraceSessionExecutor(const ControlTraceSessionExecutor &)=delete
static std::unique_ptr< ControlTraceSessionExecutor > create(ControlTraceSessionExecutorConfig config)
void disconnect() noexcept
Releases every retained trace lease during carrier teardown.
void end_authority(std::string_view opaque_authority_id) noexcept
Ends process-global trace ownership only when it belongs to this broker-projected authority.
ControlOperationExecutor executor() const
ControlTraceSessionExecutor & operator=(const ControlTraceSessionExecutor &)=delete
Definition agent_context.hpp:7
std::function< ControlExecutionOutcome( const ControlAdmissionPlan &, const ControlRequestEnvelope &, const ControlExecutionContext &)> ControlOperationExecutor
Trusted in-process adapter contract.
Definition control_execution.hpp:56
@ State
Definition capabilities.hpp:44
SequencerStateChannel is the audio-safe transport for a plugin's structured NON-parameter state: the ...
Definition audio_device_manager.hpp:48
STL namespace.
Definition control_identity.hpp:36
Definition control_trace_session_executor.hpp:11
std::shared_ptr< InspectorMainThreadRpc > main_thread_rpc
Definition control_trace_session_executor.hpp:12
ControlRegistrationId registration_id
Definition control_trace_session_executor.hpp:14
std::shared_ptr< TraceInspector > trace_inspector
Definition control_trace_session_executor.hpp:13