Public Types | Public Member Functions | Static Public Attributes | Private Attributes | Friends

LibGeoDecomp::PatchBuffer< GRID_TYPE1, GRID_TYPE2 > Class Template Reference

#include <patchbuffer.h>

Inherits PatchAccepter< GRID_TYPE1 >, and PatchProvider< GRID_TYPE2 >.

Collaboration diagram for LibGeoDecomp::PatchBuffer< GRID_TYPE1, GRID_TYPE2 >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef GRID_TYPE1::CellType CellType
typedef SerializationBuffer
< CellType >::BufferType 
BufferType

Public Member Functions

 PatchBuffer (const Region< DIM > &region=Region< DIM >())
virtual void put (const GRID_TYPE1 &grid, const Region< DIM > &, const std::size_t nanoStep)
virtual void get (GRID_TYPE2 *destinationGrid, const Region< DIM > &patchableRegion, const std::size_t nanoStep, const bool remove=true)

Static Public Attributes

static const int DIM = GRID_TYPE1::DIM

Private Attributes

Region< DIMregion
std::deque< BufferTypestoredRegions

Friends

class PatchBufferTest

template<class GRID_TYPE1, class GRID_TYPE2>
class LibGeoDecomp::PatchBuffer< GRID_TYPE1, GRID_TYPE2 >


Member Typedef Documentation

template<class GRID_TYPE1 , class GRID_TYPE2 >
typedef SerializationBuffer<CellType>::BufferType LibGeoDecomp::PatchBuffer< GRID_TYPE1, GRID_TYPE2 >::BufferType
template<class GRID_TYPE1 , class GRID_TYPE2 >
typedef GRID_TYPE1::CellType LibGeoDecomp::PatchBuffer< GRID_TYPE1, GRID_TYPE2 >::CellType

Constructor & Destructor Documentation

template<class GRID_TYPE1 , class GRID_TYPE2 >
LibGeoDecomp::PatchBuffer< GRID_TYPE1, GRID_TYPE2 >::PatchBuffer ( const Region< DIM > &  region = Region<DIM>()  )  [inline, explicit]

Member Function Documentation

template<class GRID_TYPE1 , class GRID_TYPE2 >
virtual void LibGeoDecomp::PatchBuffer< GRID_TYPE1, GRID_TYPE2 >::get ( GRID_TYPE2 *  destinationGrid,
const Region< DIM > &  patchableRegion,
const std::size_t  nanoStep,
const bool  remove = true 
) [inline, virtual]
template<class GRID_TYPE1 , class GRID_TYPE2 >
virtual void LibGeoDecomp::PatchBuffer< GRID_TYPE1, GRID_TYPE2 >::put ( const GRID_TYPE1 &  grid,
const Region< DIM > &  ,
const std::size_t  nanoStep 
) [inline, virtual]

Friends And Related Function Documentation

template<class GRID_TYPE1 , class GRID_TYPE2 >
friend class PatchBufferTest [friend]

Member Data Documentation

template<class GRID_TYPE1 , class GRID_TYPE2 >
const int LibGeoDecomp::PatchBuffer< GRID_TYPE1, GRID_TYPE2 >::DIM = GRID_TYPE1::DIM [static]
template<class GRID_TYPE1 , class GRID_TYPE2 >
Region<DIM> LibGeoDecomp::PatchBuffer< GRID_TYPE1, GRID_TYPE2 >::region [private]
template<class GRID_TYPE1 , class GRID_TYPE2 >
std::deque<BufferType> LibGeoDecomp::PatchBuffer< GRID_TYPE1, GRID_TYPE2 >::storedRegions [private]

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