14 #ifndef CHANNEL_INCLUDED
15 #define CHANNEL_INCLUDED
37 static std::vector<container_type>
m_buf;
73 const std::vector<int>&,
const std::vector<int>&);
84 inline const element_type *
ptr()
89 inline const element_type *
ptr(
int offset)
91 return &m_buf[
m_ibuf][offset];
static const int max_dimension
const element_type * ptr(int offset)
void set_thread(int, const std::vector< int > &, const std::vector< int > &, const std::vector< int > &)
std::vector< element_type > container_type
static void increment_channel_set_id()
To be called before defining new set of channels for a operator.
Channel class for asynchronous communication.
element_type & operator[](unsigned int idx)
static std::vector< container_type > m_buf
const element_type * ptr()
static int m_set_id
identifies set of channels.
Implementation of Communicator with BGNET library.
std::vector< bgnet_IDs > m_bgnet_ids_thread