OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ResultSink Class Referenceabstract

#include "ResultSink.h"

Inheritance diagram for ResultSink:
ResulSinkFilePrinter ResultSinkScalarAccumalating ResultSinkScalarComplexSum ResultSinkVector3DAccumalating ResultSinkVector3DComplexSum

Public Member Functions

 ResultSink (int executionFrequency, int totalTimeSteps)
 
virtual ~ResultSink ()
 
virtual void ConsumeResultContainer (ResultContainer *container)=0
 
virtual void SetVolumeIterator (IGridIteratorVolume *volumeIter)
 
const int GetNbOfExectutions () const
 
virtual void PerformPostProcessing ()=0
 
void AddPostProcessor (ResultPostProcessor *postProcessor)
 

Protected Attributes

std::vector< ResultPostProcessor * > _postProcessors
 
int _executionFrequency
 
int _totalTimesteps
 
int _nbOfExecutions
 
IGridIteratorVolume_volumeIterator = nullptr
 

Constructor & Destructor Documentation

◆ ResultSink()

ResultSink::ResultSink ( int executionFrequency,
int totalTimeSteps )
inline

◆ ~ResultSink()

virtual ResultSink::~ResultSink ( )
inlinevirtual

Member Function Documentation

◆ AddPostProcessor()

void ResultSink::AddPostProcessor ( ResultPostProcessor * postProcessor)
inline

◆ ConsumeResultContainer()

virtual void ResultSink::ConsumeResultContainer ( ResultContainer * container)
pure virtual

◆ GetNbOfExectutions()

const int ResultSink::GetNbOfExectutions ( ) const
inline

◆ PerformPostProcessing()

virtual void ResultSink::PerformPostProcessing ( )
pure virtual

◆ SetVolumeIterator()

virtual void ResultSink::SetVolumeIterator ( IGridIteratorVolume * volumeIter)
inlinevirtual

Member Data Documentation

◆ _executionFrequency

int ResultSink::_executionFrequency
protected

◆ _nbOfExecutions

int ResultSink::_nbOfExecutions
protected

◆ _postProcessors

std::vector<ResultPostProcessor *> ResultSink::_postProcessors
protected

◆ _totalTimesteps

int ResultSink::_totalTimesteps
protected

◆ _volumeIterator

IGridIteratorVolume* ResultSink::_volumeIterator = nullptr
protected

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