LeechCraft 0.6.70-17335-ge406ffdcaf
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) noexcept
 
void await_resume () const noexcept
 

Public Attributes

QProcess & Process_
 
RaiiSignalConnection FinishedConn_ {}
 
RaiiSignalConnection ErrorConn_ {}
 

Detailed Description

Definition at line 20 of file process.h.

Member Function Documentation

◆ await_ready()

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

Definition at line 14 of file process.cpp.

References Process_.

Referenced by await_suspend().

+ Here is the caller graph for this function:

◆ await_resume()

void LC::Util::detail::ProcessAwaiter::await_resume ( ) const
noexcept

Definition at line 36 of file process.cpp.

◆ await_suspend()

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

Definition at line 19 of file process.cpp.

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

+ Here is the call graph for this function:

Member Data Documentation

◆ ErrorConn_

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

Definition at line 25 of file process.h.

Referenced by await_suspend().

◆ FinishedConn_

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

Definition at line 24 of file process.h.

Referenced by await_suspend().

◆ Process_

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

Definition at line 22 of file process.h.

Referenced by await_ready(), and await_suspend().


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