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

LibGeoDecomp::ASCIIWriter< CELL_TYPE, ATTRIBUTE_SELECTOR > Class Template Reference

An output plugin for writing text files. More...

#include <asciiwriter.h>

Inherits Clonable< Writer< CELL_TYPE >, ASCIIWriter< CELL_TYPE, ATTRIBUTE_SELECTOR > >.

Collaboration diagram for LibGeoDecomp::ASCIIWriter< CELL_TYPE, ATTRIBUTE_SELECTOR >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Writer< CELL_TYPE >
::GridType 
GridType
typedef
APITraits::SelectTopology
< CELL_TYPE >::Value 
Topology

Public Member Functions

 ASCIIWriter (const std::string &prefix, const unsigned period=1)
virtual void stepFinished (const GridType &grid, unsigned step, WriterEvent event)
 is called back from sim after each simulation step.

Static Public Attributes

static const int DIM = Topology::DIM

Friends

class ASCIIWriterTest

Detailed Description

template<typename CELL_TYPE, typename ATTRIBUTE_SELECTOR>
class LibGeoDecomp::ASCIIWriter< CELL_TYPE, ATTRIBUTE_SELECTOR >

An output plugin for writing text files.

Uses the same selector infrastucture as the BOVWriter.

fixme: actually use selector here as advertised


Member Typedef Documentation

template<typename CELL_TYPE , typename ATTRIBUTE_SELECTOR >
typedef Writer<CELL_TYPE>::GridType LibGeoDecomp::ASCIIWriter< CELL_TYPE, ATTRIBUTE_SELECTOR >::GridType

Reimplemented from LibGeoDecomp::Writer< CELL_TYPE >.

template<typename CELL_TYPE , typename ATTRIBUTE_SELECTOR >
typedef APITraits::SelectTopology<CELL_TYPE>::Value LibGeoDecomp::ASCIIWriter< CELL_TYPE, ATTRIBUTE_SELECTOR >::Topology

Reimplemented from LibGeoDecomp::Writer< CELL_TYPE >.


Constructor & Destructor Documentation

template<typename CELL_TYPE , typename ATTRIBUTE_SELECTOR >
LibGeoDecomp::ASCIIWriter< CELL_TYPE, ATTRIBUTE_SELECTOR >::ASCIIWriter ( const std::string &  prefix,
const unsigned  period = 1 
) [inline, explicit]

Member Function Documentation

template<typename CELL_TYPE , typename ATTRIBUTE_SELECTOR >
virtual void LibGeoDecomp::ASCIIWriter< CELL_TYPE, ATTRIBUTE_SELECTOR >::stepFinished ( const GridType grid,
unsigned  step,
WriterEvent  event 
) [inline, virtual]

Friends And Related Function Documentation

template<typename CELL_TYPE , typename ATTRIBUTE_SELECTOR >
friend class ASCIIWriterTest [friend]

Member Data Documentation

template<typename CELL_TYPE , typename ATTRIBUTE_SELECTOR >
const int LibGeoDecomp::ASCIIWriter< CELL_TYPE, ATTRIBUTE_SELECTOR >::DIM = Topology::DIM [static]

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