suanPan
FrameRecorder Class Referencefinal

A FrameRecorder class. More...

#include <FrameRecorder.h>

Inheritance diagram for FrameRecorder:
Collaboration diagram for FrameRecorder:

Public Member Functions

 FrameRecorder (unsigned, OutputType, unsigned)
 
 FrameRecorder (const FrameRecorder &)=delete
 
 FrameRecorder (FrameRecorder &&) noexcept=delete
 
FrameRecorderoperator= (const FrameRecorder &)=delete
 
FrameRecorderoperator= (FrameRecorder &&) noexcept=delete
 
 ~FrameRecorder () override
 
void record (const shared_ptr< DomainBase > &) override
 
void save () 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 FrameRecorder class.

Author
tlc
Date
30/03/2019
Version
0.1.0

Constructor & Destructor Documentation

◆ FrameRecorder() [1/3]

FrameRecorder::FrameRecorder ( unsigned  T,
OutputType  L,
unsigned  I 
)

◆ FrameRecorder() [2/3]

FrameRecorder::FrameRecorder ( const FrameRecorder )
delete

◆ FrameRecorder() [3/3]

FrameRecorder::FrameRecorder ( FrameRecorder &&  )
deletenoexcept

◆ ~FrameRecorder()

FrameRecorder::~FrameRecorder ( )
override

Member Function Documentation

◆ operator=() [1/2]

FrameRecorder & FrameRecorder::operator= ( const FrameRecorder )
delete

◆ operator=() [2/2]

FrameRecorder & FrameRecorder::operator= ( FrameRecorder &&  )
deletenoexcept

◆ print()

void FrameRecorder::print ( )
overridevirtual

Reimplemented from Tag.

◆ record()

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

Implements Recorder.

Here is the call graph for this function:

◆ save()

void FrameRecorder::save ( )
overridevirtual

Reimplemented from Recorder.


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