#include <mutex>
#include <queue>
#include <deque>
#include <condition_variable>
#include <chrono>
#include <tuple>
#include <utility>
#include <scl/macros.h>
#include <scl/tools/meta/type_query.h>
#include <scl/tools/meta/type_mod.h>
Go to the source code of this file.
|
template<class U , class T , class L , template< class > class G, class C > |
void | scl::async::operator>> (U &&value, Channel< T, L, G, C > &channel) |
| Forward a value into a channel. More...
|
|
template<class U , class T , class L , template< class > class G, class C > |
void | scl::async::operator<< (U &value, Channel< T, L, G, C > &channel) |
| Extract a value from the channel. More...
|
|
template<size_t I, class T , class Lock , template< class > class Guard, class Container > |
auto | std::get (scl::async::Channel< T, Lock, Guard, Container > &channel) -> scl::tools::meta ::tuple_element_t< I, typename scl::async::Channel< T, Lock, Guard, Container >::transport_type > |
| Get either the sender or the receiver from the channel. More...
|
|
◆ get()
template<size_t I, class T , class Lock , template< class > class Guard, class Container >
Get either the sender or the receiver from the channel.
- Template Parameters
-
I | being the index in the tuple (sender, receiver) |
T | being the type of values used in the channel |
Lock | being the type of locks for the channel |
Guard | being the type of guards for the channel |
Container | being the type of containers for the queue of the channel |
- Parameters
-
channel | being the channel to extract data from |
- Returns
- the sender or the receiver
Definition at line 730 of file Channel.h.