Public Types | Public Member Functions | Private Attributes

LibGeoDecomp::TestWriter Class Reference

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

#include <testwriter.h>

Inherits Clonable< Writer< TestCell< 2 > >, TestWriter >.

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

List of all members.

Public Types

typedef Writer< TestCell
< 2 > >::GridType 
GridType

Public Member Functions

 TestWriter (const unsigned &period, const std::vector< unsigned > &expectedSteps, const std::vector< WriterEvent > expectedEvents)
virtual void stepFinished (const GridType &grid, const unsigned step, WriterEvent event)

Private Attributes

std::vector< unsignedexpectedSteps
std::vector< WriterEventexpectedEvents

Detailed Description

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


Member Typedef Documentation


Constructor & Destructor Documentation

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

Member Function Documentation

virtual void LibGeoDecomp::TestWriter::stepFinished ( const GridType grid,
const unsigned  step,
WriterEvent  event 
) [inline, virtual]

Member Data Documentation

Referenced by stepFinished().

Referenced by stepFinished().


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