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 232 of file coroutine.h.

Constructor & Destructor Documentation

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

Definition at line 239 of file coroutine.h.

coroutine::Routine::~Routine ( )
inline

Definition at line 246 of file coroutine.h.

Member Data Documentation

ucontext_t coroutine::Routine::ctx

Definition at line 237 of file coroutine.h.

bool coroutine::Routine::finished

Definition at line 236 of file coroutine.h.

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

Definition at line 234 of file coroutine.h.

char* coroutine::Routine::stack

Definition at line 235 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 Feb 2 2019 04:01:55