LeechCraft 0.6.70-19214-g121e5318a7
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::detail::ProcessAwaiter Struct Reference

#include "process.h"

Collaboration diagram for LC::Util::detail::ProcessAwaiter:

Public Member Functions

bool await_ready () const noexcept
void await_suspend (std::coroutine_handle<> handle)
ProcessOutcome await_resume () const

Public Attributes

QProcess & Process_
QObject CoroResumeGuard_ {}
RaiiSignalConnection FinishedConn_ {}
RaiiSignalConnection ErrorConn_ {}

Detailed Description

Definition at line 54 of file process.h.

Member Function Documentation

◆ await_ready()

bool LC::Util::detail::ProcessAwaiter::await_ready ( ) const
noexcept

Definition at line 46 of file process.cpp.

References Process_.

Referenced by await_suspend().

Here is the caller graph for this function:

◆ await_resume()

ProcessOutcome LC::Util::detail::ProcessAwaiter::await_resume ( ) const

Definition at line 66 of file process.cpp.

References Process_.

◆ await_suspend()

void LC::Util::detail::ProcessAwaiter::await_suspend ( std::coroutine_handle<> handle)

Definition at line 51 of file process.cpp.

References await_ready(), CoroResumeGuard_, ErrorConn_, FinishedConn_, and Process_.

Here is the call graph for this function:

Member Data Documentation

◆ CoroResumeGuard_

QObject LC::Util::detail::ProcessAwaiter::CoroResumeGuard_ {}

Definition at line 58 of file process.h.

Referenced by await_suspend().

◆ ErrorConn_

RaiiSignalConnection LC::Util::detail::ProcessAwaiter::ErrorConn_ {}

Definition at line 61 of file process.h.

Referenced by await_suspend().

◆ FinishedConn_

RaiiSignalConnection LC::Util::detail::ProcessAwaiter::FinishedConn_ {}

Definition at line 60 of file process.h.

Referenced by await_suspend().

◆ Process_

QProcess& LC::Util::detail::ProcessAwaiter::Process_

Definition at line 56 of file process.h.

Referenced by await_ready(), await_resume(), and await_suspend().


The documentation for this struct was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.19214.g121e5318a7-build/leechcraft-0.6.70-19214-g121e5318a7/src/util/threads/coro/process.h
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.19214.g121e5318a7-build/leechcraft-0.6.70-19214-g121e5318a7/src/util/threads/coro/process.cpp