rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
MyCoro Struct Reference

Public Member Functions

 MyCoro (Context &ctx_ref, std::string str_val)
 
 ~MyCoro ()
 
void operator() (boost::asio::yield_context yield)
 
void Cancel ()
 

Public Attributes

Contextm_ctx_ref
 
std::string m_str_val
 

Detailed Description

Coroutine implementation for test that takes a shared context by reference and a string by value

Constructor & Destructor Documentation

MyCoro::MyCoro ( Context ctx_ref,
std::string  str_val 
)
inlineexplicit
MyCoro::~MyCoro ( )
inline

Member Function Documentation

void MyCoro::Cancel ( void  )
inline
void MyCoro::operator() ( boost::asio::yield_context  yield)
inline

Member Data Documentation

Context& MyCoro::m_ctx_ref
std::string MyCoro::m_str_val

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