KiCad PCB EDA Suite
Loading...
Searching...
No Matches
COROUTINE_TEST_EVENT Struct Reference

An event in a simple coroutine harness. More...

Public Types

enum class  TYPE {
  START , CALL , YIELD , RETURNED ,
  END
}
 

Public Member Functions

bool operator== (const COROUTINE_TEST_EVENT &aOther) const
 
bool operator!= (const COROUTINE_TEST_EVENT &aOther) const
 

Public Attributes

TYPE m_type
 
int m_value
 

Detailed Description

An event in a simple coroutine harness.

Definition at line 42 of file test_coroutine.cpp.

Member Enumeration Documentation

◆ TYPE

enum class COROUTINE_TEST_EVENT::TYPE
strong
Enumerator
START 
CALL 
YIELD 
RETURNED 
END 

Definition at line 44 of file test_coroutine.cpp.

Member Function Documentation

◆ operator!=()

bool COROUTINE_TEST_EVENT::operator!= ( const COROUTINE_TEST_EVENT aOther) const
inline

Definition at line 61 of file test_coroutine.cpp.

References operator==().

◆ operator==()

bool COROUTINE_TEST_EVENT::operator== ( const COROUTINE_TEST_EVENT aOther) const
inline

Definition at line 56 of file test_coroutine.cpp.

References m_type, and m_value.

Referenced by operator!=().

Member Data Documentation

◆ m_type

TYPE COROUTINE_TEST_EVENT::m_type

Definition at line 53 of file test_coroutine.cpp.

Referenced by operator<<(), and operator==().

◆ m_value

int COROUTINE_TEST_EVENT::m_value

Definition at line 54 of file test_coroutine.cpp.

Referenced by operator<<(), and operator==().


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