12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #pragma once
- #pragma warning(disable:4251)
- #include <string>
- #include <map>
- #include <iostream>
- #include <mutex>
- #include <iostream>
- #include <sstream>
- #include <ctime>
- #include <random>
- #include "windows.h"
- #include "cereal/macros.hpp"
- #include "cereal/specialize.hpp"
- #include "cereal/version.hpp"
- #include "cereal/access.hpp"
- #include "cereal/cereal.hpp"
- #include "cereal/archives/binary.hpp"
- #include "cereal/archives/xml.hpp"
- #include "cereal/archives/json.hpp"
- #include "cereal/types/memory.hpp"
- #include "cereal/types/string.hpp"
- #include <cereal/types/vector.hpp>
- #include <cereal/types/complex.hpp>
- #include <cereal/types/map.hpp>
- #include "SystemResources.h"
- #include "CError.h"
- #include "Machine.h"
- #include "CStaticStepData.h"
- #include "CManageDB.h"
- #pragma comment(lib,"Module.lib")
- using namespace std;
- using namespace ns_db;
- enum ATTRIBUTE {
- ZERO = 0X0, L = 0X1, R = 0X2, B = 0X4,
- LR = L | R, LB = L | B, RB = R | B, LRB = L | R | B
- };
- class __declspec(dllexport) CStepBase
- {
- private:
-
- protected:
- bool m_bIsInitSuccess = false;
- string m_sStepName = "";
- CStaticStepData* m_pStepPublicData;
- Machine* m_pMachine = nullptr;
- CResources* m_pResources = nullptr;
- CBondMatrix* m_pBondMatrix = nullptr;
-
- virtual LONG CheckParameter();
-
- virtual LONG Pretreatment();
-
- virtual LONG Run() = 0;
-
- virtual LONG PostData();
- string m_mapParameter = "";
- CStepBase();
- public:
-
- LONG SetParameter(string mapParameter);
-
- LONG Execute();
-
-
-
-
- };
|