← Documentation
ADS-IDAC Engine 5.0.0
RestartNodeInfo.h
Go to the documentation of this file.
1
8
9#pragma once
10
11#include <iostream>
12#include <typeinfo>
13
14#include "../ControlPanel/ControlPanel.h"
15#include "../Scheduler/CommunicationPlace.h"
16#include "../Branch/BranchRecord.h"
17#include "../Crew/OperatorDM.h"
18#include "../Crew/OperatorAT.h"
19#include "../Crew/OperatorCT.h"
20#include "../Scheduler/CommandControlCenter.h"
21#include "../Scheduler/AnalysisInfoContainer.h"
22#include "../Procedure/Procedures.h"
23#include "../Scheduler/InitiatingEventController.h"
24#include "../HWReliability/HWReliabilityModule.h"
25#include "../SupportSystemsReliability/SupportSystemReliabilityModule.h"
26#include "KeyParameterHistory.h"
27#include "../CalculationAid/CalculationAid.h" // Added by ClassView
28
29// Include BOOST serialization headers
30#include <boost/serialization/export.hpp>
31#include <boost/serialization/access.hpp>
32#include <boost/serialization/vector.hpp>
33#include <boost/serialization/version.hpp>
34#include <boost/archive/binary_oarchive.hpp>
35#include <boost/archive/binary_iarchive.hpp>
36#include <boost/archive/text_iarchive.hpp>
37#include <boost/archive/text_oarchive.hpp>
38
40public:
43 virtual ~RestartNodeInfo();
55// SupportSystemReliabilityModule r_Support_system;
57 std::vector<char> relap_restart_buf; // RELAP5 restart data carried with the snapshot: set in MPI memory mode and on a resumed task's dispatch (LZ4-compressed under --compress-queue); empty in file mode and in serial runs, which keep it in g_sim.restart_buffers
65private:
67 // Grant serialization access
69 template<class Archive>
70 void serialize(Archive & ar, const unsigned int version)
71 {
72// std::cout << "Serializing class: " << typeid(*this).name() << std::endl;
74 if (version >= 1) {
75 ar & id_epoch_base;
76 }
77 // Add serialization for each member
79 ar & r_Indicator;
81 ar & r_Action_Taker;
83 ar & r_Aux_info;
84 ar & r_All_procedure;
85 ar & r_IE;
87 // The support-system reliability module is not part of the snapshot.
88 // ar & r_Support_system;
89 ar & r_KPS;
91 }
92
93};
94BOOST_CLASS_EXPORT_KEY(RestartNodeInfo)
95BOOST_CLASS_VERSION(RestartNodeInfo, 1)
void setCorrespondingBranchClusterID(int)
CommandControlCenter r_Command_handler
ControlPanel r_Indicator
InitiatingEventController r_IE
OperatorAT r_Action_Taker
HWReliabilityModule r_System_reliability
CalculationAid r_All_polynomial
OperatorDM r_Decision_Maker
Procedures r_All_procedure
AnalysisInfoContainer r_Aux_info
KeyParameterHistory r_KPS
int corresponding_branch_cluster_ID
int getCorrespondingBranchClusterID()
std::vector< char > relap_restart_buf
friend class boost::serialization::access
void serialize(Archive &ar, const unsigned int version)
virtual ~RestartNodeInfo()