KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
Kernel_Recorder.h
Go to the documentation of this file.
1
26#ifndef Kernel_Recorder_H
27#define Kernel_Recorder_H
28
29#include "kids/Kernel.h"
30#include "kids/RuleEvaluator.h"
31
32namespace PROJECT_NS {
33
34class Kernel_Recorder final : public Kernel {
35 public:
36 virtual const std::string getName();
37
38 virtual int getType() const;
39
41
42 virtual ~Kernel_Recorder();
43
44 private:
45 // friend class Kernel_Report;
46
52 double t0, dt, time_unit;
53 std::string directory;
54 std::vector<std::string> opened_files;
55
56 virtual void token(Param::JSON& j);
57
58 virtual void setInputParam_impl(std::shared_ptr<Param>& PM);
59
60 virtual void setInputDataSet_impl(std::shared_ptr<DataSet>& DS);
61
62 virtual Status& initializeKernel_impl(Status& stat);
63
64 virtual Status& executeKernel_impl(Status& stat);
65
66 virtual Status& finalizeKernel_impl(Status& stat);
67};
68
69}; // namespace PROJECT_NS
70
71
72#endif // Kernel_Recorder_H
this file provide Kernel class
provide RuleEvaluator class
virtual void token(Param::JSON &j)
virtual const std::string getName()
Get the name of the kernel.
virtual Status & finalizeKernel_impl(Status &stat)
Virtual function to finalize the kernel implementation.
virtual Status & initializeKernel_impl(Status &stat)
Virtual function to initialize the kernel implementation.
std::vector< std::string > opened_files
virtual void setInputParam_impl(std::shared_ptr< Param > &PM)
Virtual function to set input parameters for the kernel implementation.
virtual void setInputDataSet_impl(std::shared_ptr< DataSet > &DS)
Virtual function to set input data set for the kernel implementation.
virtual Status & executeKernel_impl(Status &stat)
Virtual function to execute the kernel implementation.
kids_bint * at_samplingstep_initially_ptr
virtual int getType() const
Get the type of the kernel.
this class provides the container and implementation of algorithms
Definition Kernel.h:60
configor::json JSON
Definition Param.h:84
< http://warp.povusers.org/FunctionParser/fparser.html
Definition Context.h:39
int kids_bint
Alias for integer type.
Definition Types.h:58