Bridge++  Ver. 2.0.2
Channel_impl< ALLOCATOR > Class Template Reference

#include <channel.h>

Public Types

typedef Channel_communicator::element_type element_type
 
typedef ALLOCATOR allocator_t
 
typedef std::vector< element_type, allocator_tcontainer_type
 
typedef Channel_communicator::element_type element_type
 
typedef ALLOCATOR allocator_t
 
typedef std::vector< element_type, allocator_tcontainer_type
 
typedef Channel_communicator::element_type element_type
 
typedef ALLOCATOR allocator_t
 
typedef std::vector< element_type, allocator_tcontainer_type
 

Public Member Functions

element_typeoperator[] (unsigned int idx)
 accessor to buffer More...
 
element_type operator[] (unsigned int idx) const
 accessor to buffer More...
 
element_typeptr () const
 accessor to buffer; returns pointer to the first element. More...
 
int send_init (int count, int idir, int ipm)
 
int recv_init (int count, int idir, int ipm)
 
MPI_Request & get_request ()
 
element_typeoperator[] (unsigned int idx)
 accessor to buffer More...
 
element_type operator[] (unsigned int idx) const
 accessor to buffer More...
 
element_typeptr () const
 accessor to buffer; returns pointer to the first element. More...
 
int send_init (int count, int idir, int ipm)
 
int recv_init (int count, int idir, int ipm)
 
MPI_Request & get_request ()
 
element_typeoperator[] (unsigned int idx)
 accessor to buffer More...
 
element_type operator[] (unsigned int idx) const
 accessor to buffer More...
 
element_typeptr () const
 accessor to buffer; returns pointer to the first element. More...
 
int send_init (int count, int idir, int ipm)
 
int send_init (int count, int idir, int ipm, void *buf)
 
int recv_init (int count, int idir, int ipm)
 
int recv_init (int count, int idir, int ipm, void *buf)
 

Private Attributes

container_type m_buf
 buffer More...
 
element_typem_ptr
 pointer to the buffer More...
 
Channel_communicator m_comm
 template independent implementation More...
 

Detailed Description

template<typename ALLOCATOR>
class Channel_impl< ALLOCATOR >

Definition at line 86 of file channel.h.

Member Typedef Documentation

◆ allocator_t [1/3]

template<typename ALLOCATOR >
typedef ALLOCATOR Channel_impl< ALLOCATOR >::allocator_t

Definition at line 74 of file channel.h.

◆ allocator_t [2/3]

template<typename ALLOCATOR >
typedef ALLOCATOR Channel_impl< ALLOCATOR >::allocator_t

Definition at line 83 of file channel.h.

◆ allocator_t [3/3]

template<typename ALLOCATOR >
typedef ALLOCATOR Channel_impl< ALLOCATOR >::allocator_t

Definition at line 89 of file channel.h.

◆ container_type [1/3]

template<typename ALLOCATOR >
typedef std::vector<element_type, allocator_t> Channel_impl< ALLOCATOR >::container_type

Definition at line 75 of file channel.h.

◆ container_type [2/3]

template<typename ALLOCATOR >
typedef std::vector<element_type, allocator_t> Channel_impl< ALLOCATOR >::container_type

Definition at line 84 of file channel.h.

◆ container_type [3/3]

template<typename ALLOCATOR >
typedef std::vector<element_type, allocator_t> Channel_impl< ALLOCATOR >::container_type

Definition at line 90 of file channel.h.

◆ element_type [1/3]

template<typename ALLOCATOR >
typedef Channel_communicator::element_type Channel_impl< ALLOCATOR >::element_type

Definition at line 73 of file channel.h.

◆ element_type [2/3]

template<typename ALLOCATOR >
typedef Channel_communicator::element_type Channel_impl< ALLOCATOR >::element_type

Definition at line 82 of file channel.h.

◆ element_type [3/3]

template<typename ALLOCATOR >
typedef Channel_communicator::element_type Channel_impl< ALLOCATOR >::element_type

Definition at line 88 of file channel.h.

Member Function Documentation

◆ get_request() [1/2]

template<typename ALLOCATOR >
MPI_Request& Channel_impl< ALLOCATOR >::get_request ( )
inline

Definition at line 116 of file channel.h.

◆ get_request() [2/2]

template<typename ALLOCATOR >
MPI_Request& Channel_impl< ALLOCATOR >::get_request ( )
inline

Definition at line 122 of file channel.h.

◆ operator[]() [1/6]

template<typename ALLOCATOR >
element_type& Channel_impl< ALLOCATOR >::operator[] ( unsigned int  idx)
inline

accessor to buffer

Definition at line 88 of file channel.h.

◆ operator[]() [2/6]

template<typename ALLOCATOR >
element_type& Channel_impl< ALLOCATOR >::operator[] ( unsigned int  idx)
inline

accessor to buffer

Definition at line 92 of file channel.h.

◆ operator[]() [3/6]

template<typename ALLOCATOR >
element_type& Channel_impl< ALLOCATOR >::operator[] ( unsigned int  idx)
inline

accessor to buffer

Definition at line 98 of file channel.h.

◆ operator[]() [4/6]

template<typename ALLOCATOR >
element_type Channel_impl< ALLOCATOR >::operator[] ( unsigned int  idx) const
inline

accessor to buffer

Definition at line 90 of file channel.h.

◆ operator[]() [5/6]

template<typename ALLOCATOR >
element_type Channel_impl< ALLOCATOR >::operator[] ( unsigned int  idx) const
inline

accessor to buffer

Definition at line 94 of file channel.h.

◆ operator[]() [6/6]

template<typename ALLOCATOR >
element_type Channel_impl< ALLOCATOR >::operator[] ( unsigned int  idx) const
inline

accessor to buffer

Definition at line 100 of file channel.h.

◆ ptr() [1/3]

template<typename ALLOCATOR >
element_type* Channel_impl< ALLOCATOR >::ptr ( ) const
inline

accessor to buffer; returns pointer to the first element.

Definition at line 92 of file channel.h.

◆ ptr() [2/3]

template<typename ALLOCATOR >
element_type* Channel_impl< ALLOCATOR >::ptr ( ) const
inline

accessor to buffer; returns pointer to the first element.

Definition at line 96 of file channel.h.

◆ ptr() [3/3]

template<typename ALLOCATOR >
element_type* Channel_impl< ALLOCATOR >::ptr ( ) const
inline

accessor to buffer; returns pointer to the first element.

Definition at line 102 of file channel.h.

◆ recv_init() [1/4]

template<typename ALLOCATOR >
int Channel_impl< ALLOCATOR >::recv_init ( int  count,
int  idir,
int  ipm 
)
inline

Definition at line 109 of file channel.h.

◆ recv_init() [2/4]

template<typename ALLOCATOR >
int Channel_impl< ALLOCATOR >::recv_init ( int  count,
int  idir,
int  ipm 
)
inline

Definition at line 111 of file channel.h.

◆ recv_init() [3/4]

template<typename ALLOCATOR >
int Channel_impl< ALLOCATOR >::recv_init ( int  count,
int  idir,
int  ipm 
)
inline

Definition at line 115 of file channel.h.

◆ recv_init() [4/4]

template<typename ALLOCATOR >
int Channel_impl< ALLOCATOR >::recv_init ( int  count,
int  idir,
int  ipm,
void *  buf 
)
inline

Definition at line 118 of file channel.h.

◆ send_init() [1/4]

template<typename ALLOCATOR >
int Channel_impl< ALLOCATOR >::send_init ( int  count,
int  idir,
int  ipm 
)
inline

Definition at line 98 of file channel.h.

◆ send_init() [2/4]

template<typename ALLOCATOR >
int Channel_impl< ALLOCATOR >::send_init ( int  count,
int  idir,
int  ipm 
)
inline

Definition at line 102 of file channel.h.

◆ send_init() [3/4]

template<typename ALLOCATOR >
int Channel_impl< ALLOCATOR >::send_init ( int  count,
int  idir,
int  ipm 
)
inline

Definition at line 108 of file channel.h.

◆ send_init() [4/4]

template<typename ALLOCATOR >
int Channel_impl< ALLOCATOR >::send_init ( int  count,
int  idir,
int  ipm,
void *  buf 
)
inline

Definition at line 105 of file channel.h.

Member Data Documentation

◆ m_buf

template<typename ALLOCATOR >
container_type Channel_impl< ALLOCATOR >::m_buf
private

buffer

Definition at line 125 of file channel.h.

◆ m_comm

template<typename ALLOCATOR >
Channel_communicator Channel_impl< ALLOCATOR >::m_comm
private

template independent implementation

Definition at line 127 of file channel.h.

◆ m_ptr

template<typename ALLOCATOR >
element_type * Channel_impl< ALLOCATOR >::m_ptr
private

pointer to the buffer

Definition at line 126 of file channel.h.


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