Main Page   Class Hierarchy   Compound List   File List   Compound Members  

AllGatherBuffer Class Reference

Buffer for AllGather. More...

#include <ParGraph.hpp>

List of all members.

Public Member Functions

template<class A> void put (A)
 Write element into buffer.

template<class A> void put (const A *element, size_t count)
 Write count elements into buffer.

void communicate ()
bool is_empty ()
 Test if buffer is empty.

template<class A> proc_t get (A *element, size_t count=1)
 Read count elements from buffer.

Detailed Description

Buffer for AllGather.

Definition at line 92 of file ParGraph.hpp.

Member Function Documentation

proc_t get A *    element,
size_t    count = 1

Read count elements from buffer.

Definition at line 171 of file ParGraph.hpp.

References comm_layer_t::size().

bool is_empty   [inline]

Test if buffer is empty.

Definition at line 120 of file ParGraph.hpp.

void put const A *    element,
size_t    count

Write count elements into buffer.

Definition at line 135 of file ParGraph.hpp.

void put   [inline]

Write element into buffer.

Definition at line 128 of file ParGraph.hpp.

The documentation for this class was generated from the following files:
Generated on Sun Feb 29 05:14:25 2004 for ParGraph by doxygen1.3-rc3