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

#include "context.h"

Public Member Functions

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

Public Attributes

const QObject & Context_

Detailed Description

Definition at line 86 of file context.h.

Constructor & Destructor Documentation

◆ AddContextObject()

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

Definition at line 90 of file context.h.

References Context_.

Member Function Documentation

◆ await_ready()

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

Definition at line 95 of file context.h.

◆ await_resume()

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

Definition at line 116 of file context.h.

◆ await_suspend()

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

Definition at line 102 of file context.h.

References Context_.

Member Data Documentation

◆ Context_

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

Definition at line 88 of file context.h.

Referenced by AddContextObject(), and await_suspend().


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.18808.g3467692359-build/leechcraft-0.6.70-18808-g3467692359/src/util/threads/coro/context.h