Public Types | Public Member Functions | Private Attributes

LibGeoDecomp::ParallelTestWriter Class Reference

This class serves to verify the callback behavior of implementations of DistributedSimulator. More...

#include <paralleltestwriter.h>

Inherits Clonable< ParallelWriter< TestCell< 2 > >, ParallelTestWriter >.

Collaboration diagram for LibGeoDecomp::ParallelTestWriter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef ParallelWriter
< TestCell< 2 > >::GridType 
GridType

Public Member Functions

 ParallelTestWriter (const unsigned period, const std::vector< unsigned > &expectedSteps, const std::vector< WriterEvent > expectedEvents)
virtual void stepFinished (const GridType &grid, const Region< Topology::DIM > &validRegion, const Coord< Topology::DIM > &globalDimensions, unsigned step, WriterEvent event, std::size_t rank, bool lastCall)

Private Attributes

std::vector< unsignedexpectedSteps
std::vector< WriterEventexpectedEvents
unsigned lastStep
Region< 2 > unaccountedRegion

Detailed Description

This class serves to verify the callback behavior of implementations of DistributedSimulator.


Member Typedef Documentation


Constructor & Destructor Documentation

LibGeoDecomp::ParallelTestWriter::ParallelTestWriter ( const unsigned  period,
const std::vector< unsigned > &  expectedSteps,
const std::vector< WriterEvent expectedEvents 
) [inline]

Member Function Documentation

virtual void LibGeoDecomp::ParallelTestWriter::stepFinished ( const GridType grid,
const Region< Topology::DIM > &  validRegion,
const Coord< Topology::DIM > &  globalDimensions,
unsigned  step,
WriterEvent  event,
std::size_t  rank,
bool  lastCall 
) [inline, virtual]

Member Data Documentation


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