SEEnvironmentActionCollection.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3#pragma once
4class SEAction;
9CDM_BIND_DECL(ActionListData)
10CDM_BIND_DECL(AnyEnvironmentActionData)
11
13{
14 friend class PBEngine;//friend the serialization class
15 friend class SEActionManager;
16protected:
18public:
20
21 bool HasChangeEnvironmentalConditions() const;
22 SEChangeEnvironmentalConditions& GetChangeEnvironmentalConditions();
23 const SEChangeEnvironmentalConditions* GetChangeEnvironmentalConditions() const;
24 void RemoveChangeEnvironmentalConditions();
25
26 bool HasThermalApplication() const;
27 SEThermalApplication& GetThermalApplication();
28 const SEThermalApplication* GetThermalApplication() const;
29 void RemoveThermalApplication();
30
31 void GetAllActions(std::vector<const SEAction*>& v) const;
32 const SEScalar* GetScalar(const std::string& actionName, const std::string& cmptName, const std::string& substance, const std::string& property);
33
34protected:
35 void Clear();
36 bool ProcessAction(const SEEnvironmentAction& action);
37
41};
Definition: Logger.h:23
Definition: PBEngine.h:31
Definition: SEAction.h:14
Definition: SEActionManager.h:12
bool ProcessAction(const SEAction &action)
Definition: SEActionManager.cpp:71
void Clear()
Definition: SEActionManager.cpp:30
const SEScalar * GetScalar(const std::string &actionName, const std::string &cmptName, const std::string &substance, const std::string &property)
Definition: SEActionManager.cpp:108
void GetAllActions(std::vector< const SEAction * > &v) const
Definition: SEActionManager.cpp:101
Definition: SEChangeEnvironmentalConditions.h:9
Definition: SEEnvironmentActionCollection.h:13
SEChangeEnvironmentalConditions * m_ChangeEnvironmentalConditions
Definition: SEEnvironmentActionCollection.h:39
SEThermalApplication * m_ThermalApplication
Definition: SEEnvironmentActionCollection.h:40
SESubstanceManager & m_SubMgr
Definition: SEEnvironmentActionCollection.h:38
Definition: SEEnvironmentAction.h:7
Definition: SEScalar.h:19
Definition: SESubstanceManager.h:9
Definition: SEThermalApplication.h:9

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.