Go to the documentation of this file.
8 #ifndef SIMULATEDPROCESS_H
9 #define SIMULATEDPROCESS_H
19 class SimulatedStateModel;
26 SimulatedStateModel(std::unique_ptr<StateModel> state_model,
const Eigen::Ref<const Eigen::VectorXd>& initial_state,
const unsigned int simulation_time);
34 bool setProperty(
const std::string& property)
override;
50 std::vector<std::string>
log_file_names(
const std::string& folder_path,
const std::string& file_name_prefix)
override
52 return {folder_path +
"/" + file_name_prefix +
"_target"};
std::unique_ptr< StateModel > state_model_
unsigned int current_simulation_time_
std::ofstream log_file_state_
Port of boost::any for C++11 compilers.
virtual ~SimulatedStateModel() noexcept=default
bool setProperty(const std::string &property) override
StateModel & getStateModel()
SimulatedStateModel(std::unique_ptr< StateModel > state_model, const Eigen::Ref< const Eigen::VectorXd > &initial_state, const unsigned int simulation_time)
Data getData() const override
bool bufferData() override
unsigned int simulation_time_
The class any describes a type-safe container for single values of any type.
std::vector< std::string > log_file_names(const std::string &folder_path, const std::string &file_name_prefix) override
Data data_simulated_state_model_