Alsvinn  0.5.3
The fast FVM simulator with UQ support
Public Types | Public Member Functions | List of all members
alsfvm::io::WriterFactory Class Reference

#include <alsfvm/io/WriterFactory.hpp>

Inheritance diagram for alsfvm::io::WriterFactory:
alsfvm::io::MpiWriterFactory alsuq::io::MPIWriterFactory

Public Types

typedef alsutils::base::Factory< Writer, const std::string &, const Parameters & >::CreatorType CreatorType
 

Public Member Functions

virtual ~WriterFactory ()
 
virtual alsfvm::shared_ptr< WritercreateWriter (const std::string &name, const std::string &baseFilename, const Parameters &parameters)
 

Detailed Description

This implements the abstract factory pattern The reason for doing this is that we sometimes want to use mpi writers, and sometimes not.

Member Typedef Documentation

◆ CreatorType

Constructor & Destructor Documentation

◆ ~WriterFactory()

virtual alsfvm::io::WriterFactory::~WriterFactory ( )
inlinevirtual

Member Function Documentation

◆ createWriter()

alsfvm::shared_ptr< Writer > alsfvm::io::WriterFactory::createWriter ( const std::string &  name,
const std::string &  baseFilename,
const Parameters parameters 
)
virtual

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