suanPan
SumRecorder Class Reference

A SumRecorder class. More...

#include <SumRecorder.h>

Inheritance diagram for SumRecorder:
Collaboration diagram for SumRecorder:

Public Member Functions

 SumRecorder (unsigned, uvec &&, OutputType, unsigned, bool, bool)
 
void initialize (const shared_ptr< DomainBase > &) override
 
void record (const shared_ptr< DomainBase > &) override
 
void print () override
 
- Public Member Functions inherited from Recorder
 Recorder (unsigned, uvec &&, OutputType, unsigned, bool, bool)
 ctor More...
 
 Recorder (const Recorder &)=delete
 
 Recorder (Recorder &&)=delete
 
Recorderoperator= (const Recorder &)=delete
 
Recorderoperator= (Recorder &&)=delete
 
 ~Recorder () override=default
 
virtual void initialize (const shared_ptr< DomainBase > &)
 
void set_object_tag (uvec &&)
 
const uvec & get_object_tag () const
 
void set_variable_type (OutputType)
 
const OutputTypeget_variable_type () const
 
bool if_hdf5 () const
 
bool if_record_time () const
 
void insert (double)
 
void insert (const std::vector< vec > &, unsigned)
 
const std::vector< std::vector< std::vector< vec > > > & get_data_pool () const
 
const std::vector< double > & get_time_pool () const
 
virtual void record (const shared_ptr< DomainBase > &)=0
 
void clear_status ()
 
virtual void save ()
 
void print () override
 
- Public Member Functions inherited from Tag
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&)=default
 
Tagoperator= (const Tag &)=delete
 
Tagoperator= (Tag &&)=delete
 
virtual ~Tag ()=default
 
void set_tag (unsigned) const
 
unsigned get_tag () const
 
void enable ()
 
void disable ()
 
void guard ()
 
void unguard ()
 
bool is_active () const
 
bool is_guarded () const
 
virtual void print ()
 

Additional Inherited Members

- Protected Member Functions inherited from Recorder
bool if_perform_record ()
 
- Protected Attributes inherited from Recorder
const unsigned interval
 
unsigned counter = 0
 

Detailed Description

A SumRecorder class.

Author
tlc
Date
02/08/2019
Version
0.1.0

Constructor & Destructor Documentation

◆ SumRecorder()

SumRecorder::SumRecorder ( unsigned  T,
uvec &&  B,
OutputType  L,
unsigned  I,
bool  R,
bool  H 
)
Here is the call graph for this function:

Member Function Documentation

◆ initialize()

void SumRecorder::initialize ( const shared_ptr< DomainBase > &  D)
overridevirtual

Reimplemented from Recorder.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print()

void SumRecorder::print ( )
overridevirtual

Reimplemented from Recorder.

◆ record()

void SumRecorder::record ( const shared_ptr< DomainBase > &  D)
overridevirtual

Implements Recorder.

Here is the call graph for this function:

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