SEEnvironmentActionCollection.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 #pragma once
4 class SEAction;
9 CDM_BIND_DECL(ActionListData)
10 CDM_BIND_DECL(AnyEnvironmentActionData)
11 
12 class CDM_DECL SEEnvironmentActionCollection : public Loggable
13 {
14  friend class PBEngine;//friend the serialization class
15  friend class SEActionManager;
16 protected:
18 public:
20 
21  bool HasChange() const;
22  SEChangeEnvironmentConditions* GetChange();
23  const SEChangeEnvironmentConditions* GetChange() const;
24  void RemoveChange();
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 
33 protected:
34  void Clear();
35  bool ProcessAction(const SEEnvironmentAction& action);
36 
39  // General
41 };
Definition: SESubstanceManager.h:8
Definition: SEEnvironmentActionCollection.h:12
Definition: SEEnvironmentAction.h:6
SESubstanceManager & m_Substances
Definition: SEEnvironmentActionCollection.h:40
Definition: SEAction.h:7
void GetAllActions(std::vector< const SEAction *> &v) const
Definition: SEActionManager.cpp:108
void Clear()
Definition: SEActionManager.cpp:36
SEChangeEnvironmentConditions * m_Change
Definition: SEEnvironmentActionCollection.h:37
Definition: SEActionManager.h:12
Definition: Logger.h:11
bool ProcessAction(const SEAction &action)
Definition: SEActionManager.cpp:74
Definition: PBEngine.h:24
Definition: SEChangeEnvironmentConditions.h:8
SEThermalApplication * m_ThermalApplication
Definition: SEEnvironmentActionCollection.h:38
Definition: SEThermalApplication.h:8