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

LibGeoDecomp::MockWriter Class Reference

#include <mockwriter.h>

Inherits Clonable< Writer< TestCell< 2 > >, MockWriter >, and Clonable< ParallelWriter< TestCell< 2 > >, MockWriter >.

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

List of all members.

Public Types

typedef std::vector
< MockWriterHelpers::MockWriterEvent
EventVec

Public Member Functions

 MockWriter (const unsigned &period=1)
 ~MockWriter ()
void stepFinished (const Writer< TestCell< 2 > >::GridType &grid, unsigned step, WriterEvent event)
void stepFinished (const ParallelWriter< TestCell< 2 > >::GridType &grid, const Region< 2 > &validRegion, const Coord< 2 > &globalDimensions, unsigned step, WriterEvent event, std::size_t rank, bool lastCall)
EventVec events ()

Static Public Attributes

static std::string staticEvents

Private Member Functions

void stepFinished (unsigned step, WriterEvent event, std::size_t rank, bool lastCall)

Private Attributes

EventVec myEvents

Member Typedef Documentation


Constructor & Destructor Documentation

LibGeoDecomp::MockWriter::MockWriter ( const unsigned period = 1  )  [inline, explicit]
LibGeoDecomp::MockWriter::~MockWriter (  )  [inline]

References staticEvents.


Member Function Documentation

EventVec LibGeoDecomp::MockWriter::events (  )  [inline]

References myEvents.

void LibGeoDecomp::MockWriter::stepFinished ( unsigned  step,
WriterEvent  event,
std::size_t  rank,
bool  lastCall 
) [inline, private]

References myEvents.

void LibGeoDecomp::MockWriter::stepFinished ( const Writer< TestCell< 2 > >::GridType grid,
unsigned  step,
WriterEvent  event 
) [inline]

Referenced by stepFinished().

void LibGeoDecomp::MockWriter::stepFinished ( const ParallelWriter< TestCell< 2 > >::GridType grid,
const Region< 2 > &  validRegion,
const Coord< 2 > &  globalDimensions,
unsigned  step,
WriterEvent  event,
std::size_t  rank,
bool  lastCall 
) [inline]

References stepFinished().


Member Data Documentation

Referenced by events(), and stepFinished().

Referenced by ~MockWriter().


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