Public Member Functions | Public Attributes | List of all members
coroutine::Routine Struct Reference

#include <coroutine.h>

Public Member Functions

 Routine (std::function< void()> f)
 
 ~Routine ()
 

Public Attributes

ucontext_t ctx
 
bool finished
 
std::function< void()> func
 
char * stack
 

Detailed Description

Definition at line 234 of file coroutine.h.

Constructor & Destructor Documentation

coroutine::Routine::Routine ( std::function< void()>  f)
inline

Definition at line 241 of file coroutine.h.

coroutine::Routine::~Routine ( )
inline

Definition at line 248 of file coroutine.h.

Member Data Documentation

ucontext_t coroutine::Routine::ctx

Definition at line 239 of file coroutine.h.

bool coroutine::Routine::finished

Definition at line 238 of file coroutine.h.

std::function<void()> coroutine::Routine::func

Definition at line 236 of file coroutine.h.

char* coroutine::Routine::stack

Definition at line 237 of file coroutine.h.


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


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 18:04:06