EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CivilianMgr.h
Go to the documentation of this file.
1 
13 #ifndef EVEMU_SYSTEM_CIVILIANMGR_H_
14 #define EVEMU_SYSTEM_CIVILIANMGR_H_
15 
16 
17 #include "ServiceDB.h"
18 #include "utils/Singleton.h"
19 
20 /* this class will control all aspects of
21  * non-combatant civilians
22  */
23 
24 class PyServiceMgr;
25 
27 : public Singleton<CivilianMgr>
28 {
29 public:
30  CivilianMgr();
31  ~CivilianMgr() { /* do nothing here */ }
32 
33  void Initialize(PyServiceMgr* svc);
34  void Process();
35 
36 private:
39 
41 
42 };
43 
44 //Singleton
45 #define sCivMgr \
46 ( CivilianMgr::get() )
47 
48 
49 #endif // EVEMU_SYSTEM_CIVILIANMGR_H_
void Process()
Definition: CivilianMgr.cpp:49
PyServiceMgr * m_services
Definition: CivilianMgr.h:38
bool m_initalized
Definition: CivilianMgr.h:40
void Initialize(PyServiceMgr *svc)
Definition: CivilianMgr.cpp:42
Template used for singleton classes.
Definition: Singleton.h:43
ServiceDB * m_db
Definition: CivilianMgr.h:37