Adapts typed control execution onto the completion-carrying Inspector main thread RPC without creating another queue or transport. More...
#include <control_main_thread_executor.hpp>
Public Types | |
| using | Handler = ControlOperationExecutor |
Public Member Functions | |
| ControlMainThreadExecutor (std::shared_ptr< InspectorMainThreadRpc > rpc, Handler handler) | |
| ControlOperationExecutor | executor () const |
| The returned executor owns the adapter state. | |
Adapts typed control execution onto the completion-carrying Inspector main thread RPC without creating another queue or transport.
| pulp::inspect::ControlMainThreadExecutor::ControlMainThreadExecutor | ( | std::shared_ptr< InspectorMainThreadRpc > | rpc, |
| Handler | handler ) |
| ControlOperationExecutor pulp::inspect::ControlMainThreadExecutor::executor | ( | ) | const |
The returned executor owns the adapter state.
A main-thread operation that outlives a fenced started timeout therefore cannot reference a destroyed adapter or borrowed request/progress objects.