← Documentation
ADS-IDAC Engine 5.0.0
MentalParameterTrend.h
Go to the documentation of this file.
1#pragma once
2
3#include <iostream>
4#include <typeinfo>
5// MentalParameterTrend.h: interface for the MentalParameterTrend class.
6//
8
9#include <math.h>
10#include <boost/serialization/export.hpp>
11
12#include "../ControlPanel/DisplayElement.h"
13#include "MentalInfo.h"
14#include <boost/archive/text_oarchive.hpp>
15#include <boost/archive/text_iarchive.hpp>
16#include <boost/serialization/base_object.hpp>
17
19 public DisplayElement,
20 public MentalInfo
21{
22public:
24 virtual ~MentalParameterTrend();
28 void saveMentalParameterTrendToFile(std::ofstream &);
29 void retrieveMentalParameterTrendFromFile(std::ifstream &);
31 friend class boost::serialization::access; // grant access to boost serialization
32 template<class Archive>
33 void serialize(Archive & ar, const unsigned int version)
34 {
35// std::cout << "Serializing class: " << typeid(*this).name() << std::endl;
36 ar & boost::serialization::base_object<DisplayElement>(*this);
37 ar & boost::serialization::base_object<MentalInfo>(*this);
39 }
40private:
42};
43
44
45BOOST_CLASS_EXPORT_KEY(MentalParameterTrend)
void retrieveMentalParameterTrendFromFile(std::ifstream &)
void copyMentalParameterTrend(MentalParameterTrend &)
friend class boost::serialization::access
void serialize(Archive &ar, const unsigned int version)
bool checkIfIsIdenticalMentalParameterTrend(MentalParameterTrend &)
void setObservedParameterRateOfChange(double)
void saveMentalParameterTrendToFile(std::ofstream &)