LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::AddContextObject Struct Reference

#include "context.h"

Public Member Functions

 AddContextObject (QObject &context)
 
bool await_ready () const noexcept
 
template<typename Promise >
requires requires { typename Promise::HasContextExtensions; }
bool await_suspend (std::coroutine_handle< Promise > handle)
 
void await_resume ()
 

Public Attributes

QObject & Context_
 

Detailed Description

Definition at line 95 of file context.h.

Constructor & Destructor Documentation

◆ AddContextObject()

LC::Util::AddContextObject::AddContextObject ( QObject & context)
inlineexplicit

Definition at line 99 of file context.h.

Member Function Documentation

◆ await_ready()

bool LC::Util::AddContextObject::await_ready ( ) const
inlinenoexcept

Definition at line 104 of file context.h.

◆ await_resume()

void LC::Util::AddContextObject::await_resume ( )
inline

Definition at line 124 of file context.h.

◆ await_suspend()

template<typename Promise >
requires requires { typename Promise::HasContextExtensions; }
bool LC::Util::AddContextObject::await_suspend ( std::coroutine_handle< Promise > handle)
inline

Definition at line 111 of file context.h.

References Context_, and LC::Util::Filter().

+ Here is the call graph for this function:

Member Data Documentation

◆ Context_

QObject& LC::Util::AddContextObject::Context_

Definition at line 97 of file context.h.

Referenced by await_suspend().


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