Public Member Functions | Private Attributes
coroutine::Channel< Type > Class Template Reference

#include <coroutine.h>

List of all members.

Public Member Functions

 Channel ()
 Channel (routine_t id)
void clear ()
void consumer (routine_t id)
bool empty ()
Type pop ()
void push (const Type &obj)
void push (Type &&obj)
size_t size ()
void touch ()

Private Attributes

std::list< Type > _list
routine_t _taker

Detailed Description

template<typename Type>
class coroutine::Channel< Type >

Definition at line 399 of file coroutine.h.


Constructor & Destructor Documentation

template<typename Type >
coroutine::Channel< Type >::Channel ( ) [inline]

Definition at line 402 of file coroutine.h.

template<typename Type >
coroutine::Channel< Type >::Channel ( routine_t  id) [inline]

Definition at line 407 of file coroutine.h.


Member Function Documentation

template<typename Type >
void coroutine::Channel< Type >::clear ( ) [inline]

Definition at line 444 of file coroutine.h.

template<typename Type >
void coroutine::Channel< Type >::consumer ( routine_t  id) [inline]

Definition at line 412 of file coroutine.h.

template<typename Type >
bool coroutine::Channel< Type >::empty ( ) [inline]

Definition at line 460 of file coroutine.h.

template<typename Type >
Type coroutine::Channel< Type >::pop ( ) [inline]

Definition at line 431 of file coroutine.h.

template<typename Type >
void coroutine::Channel< Type >::push ( const Type &  obj) [inline]

Definition at line 417 of file coroutine.h.

template<typename Type >
void coroutine::Channel< Type >::push ( Type &&  obj) [inline]

Definition at line 424 of file coroutine.h.

template<typename Type >
size_t coroutine::Channel< Type >::size ( ) [inline]

Definition at line 455 of file coroutine.h.

template<typename Type >
void coroutine::Channel< Type >::touch ( ) [inline]

Definition at line 449 of file coroutine.h.


Member Data Documentation

template<typename Type >
std::list<Type> coroutine::Channel< Type >::_list [private]

Definition at line 466 of file coroutine.h.

template<typename Type >
routine_t coroutine::Channel< Type >::_taker [private]

Definition at line 467 of file coroutine.h.


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


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 20:17:15