KiCad PCB EDA Suite
COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS Struct Reference

Public Types

enum  { FROM_ROOT, FROM_ROUTINE, CONTINUE_AFTER_ROOT }
 

Public Attributes

enum COROUTINE::INVOCATION_ARGS:: { ... }  type
 
COROUTINEdestination
 
CALL_CONTEXTcontext
 

Detailed Description

template<typename ReturnType, typename ArgType>
struct COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS

Definition at line 64 of file coroutine.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename ReturnType, typename ArgType>
anonymous enum
Enumerator
FROM_ROOT 
FROM_ROUTINE 
CONTINUE_AFTER_ROOT 

Definition at line 66 of file coroutine.h.

67  {
68  FROM_ROOT, // a stub was called/a corutine was resumed from the main-stack context
69  FROM_ROUTINE, // a stub was called/a coroutine was resumed fron a coroutine context
70  CONTINUE_AFTER_ROOT // a function sent a request to invoke a function on the main
71  // stack context
72  } type; // invocation type
enum COROUTINE::INVOCATION_ARGS::@67 type

Member Data Documentation

◆ context

template<typename ReturnType, typename ArgType>
CALL_CONTEXT* COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS::context

Definition at line 76 of file coroutine.h.

◆ destination

template<typename ReturnType, typename ArgType>
COROUTINE* COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS::destination

◆ type

enum { ... } COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS::type

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