SEInhalerActionCollection.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 class SEAction;
6 class SEInhalerAction;
8 class SEInhaler;
10 CDM_BIND_DECL(ActionListData)
11 CDM_BIND_DECL(AnyInhalerActionData)
12 
13 class CDM_DECL SEInhalerActionCollection : public Loggable
14 {
15  friend class PBEngine;//friend the serialization class
16  friend class SEActionManager;
17 protected:
19 public:
21 
22  // STATE ACTION
23  bool HasConfiguration() const;
24  SEInhalerConfiguration* GetConfiguration();
25  const SEInhalerConfiguration* GetConfiguration() const;
26  void RemoveConfiguration();
27 
28  void GetAllActions(std::vector<const SEAction*>& v) const;
29 
30 protected:
31  void Clear();
32  bool ProcessAction(const SEInhalerAction& action);
33 
35  // General
37 };
Definition: SESubstanceManager.h:8
Definition: SEInhalerAction.h:7
Definition: SEInhaler.h:11
Definition: SEAction.h:7
Definition: SEInhalerConfiguration.h:9
void GetAllActions(std::vector< const SEAction *> &v) const
Definition: SEActionManager.cpp:108
void Clear()
Definition: SEActionManager.cpp:36
SESubstanceManager & m_Substances
Definition: SEInhalerActionCollection.h:36
Definition: SEActionManager.h:12
Definition: Logger.h:11
bool ProcessAction(const SEAction &action)
Definition: SEActionManager.cpp:74
Definition: PBEngine.h:24
Definition: SEInhalerActionCollection.h:13
SEInhalerConfiguration * m_Configuration
Definition: SEInhalerActionCollection.h:34