Jive reference manual
List of all members | Public Member Functions
jem::mp::Port Class Reference

#include <jem/mp/Port.h>

Public Member Functions

 Port ()
 
 Port (const Ref< Context > &ctx, int rank, int tag=DEFAULT_TAG)
 
 Port (const Port &rhs)
 
template<class T >
void send (const T &item)
 
template<class T >
void send (const T *buf, idx_t n)
 
void send (const SendBuffer &buf)
 
template<class T >
void recv (T &item, Status *stat=0)
 
template<class T >
void recv (T *buf, idx_t n, Status *stat=0)
 
void recv (const RecvBuffer &buf, Status *stat=0)
 
template<class T >
Ref< RequestinitSend (const T *buf, idx_t n)
 
Ref< RequestinitSend (const SendBuffer &buf)
 
template<class T >
Ref< RequestinitRecv (T *buf, idx_t n)
 
Ref< RequestinitRecv (const RecvBuffer &buf)
 
template<class T >
Portoperator<< (const T &item)
 
template<class T >
Portoperator>> (T &item)
 

Constructor & Destructor Documentation

jem::mp::Port::Port ( )
jem::mp::Port::Port ( const Ref< Context > &  ctx,
int  rank,
int  tag = DEFAULT_TAG 
)
jem::mp::Port::Port ( const Port rhs)

Member Function Documentation

template<class T >
void jem::mp::Port::send ( const T &  item)
template<class T >
void jem::mp::Port::send ( const T *  buf,
idx_t  n 
)
void jem::mp::Port::send ( const SendBuffer buf)
template<class T >
void jem::mp::Port::recv ( T &  item,
Status stat = 0 
)
template<class T >
void jem::mp::Port::recv ( T *  buf,
idx_t  n,
Status stat = 0 
)
void jem::mp::Port::recv ( const RecvBuffer buf,
Status stat = 0 
)
template<class T >
Ref< Request > jem::mp::Port::initSend ( const T *  buf,
idx_t  n 
)
Ref< Request > jem::mp::Port::initSend ( const SendBuffer buf)
template<class T >
Ref< Request > jem::mp::Port::initRecv ( T *  buf,
idx_t  n 
)
Ref< Request > jem::mp::Port::initRecv ( const RecvBuffer buf)
template<class T >
Port & jem::mp::Port::operator<< ( const T &  item)
template<class T >
Port & jem::mp::Port::operator>> ( T &  item)