Emergency 20 Dokumentation  4.2.0
CloseBuildingDoorCommandMode.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Includes ]
12 //[-------------------------------------------------------]
14 
15 
16 //[-------------------------------------------------------]
17 //[ Namespace ]
18 //[-------------------------------------------------------]
19 namespace em5
20 {
21 
22 
23  //[-------------------------------------------------------]
24  //[ Classes ]
25  //[-------------------------------------------------------]
34  {
35 
36 
37  //[-------------------------------------------------------]
38  //[ Public definitions ]
39  //[-------------------------------------------------------]
40  public:
41  static const uint32 PLUGINABLE_ID;
42 
43 
44  //[-------------------------------------------------------]
45  //[ Public methods ]
46  //[-------------------------------------------------------]
47  public:
53 
59 
60 
61  //[-------------------------------------------------------]
62  //[ Public virtual qsf::game::CommandMode methods ]
63  //[-------------------------------------------------------]
64  public:
65  virtual void startup() override;
66  virtual void shutdown() override;
67  virtual bool executeCommandContext(qsf::game::CommandContext& commandContext, const EntityIdSet& callerIds) override;
68  virtual void updateCommandMode(const qsf::Clock& clock) override;
69 
70 
71  //[-------------------------------------------------------]
72  //[ Private data ]
73  //[-------------------------------------------------------]
74  private:
75  qsf::DebugDrawProxy mDebugDrawProxy;
76 
77 
78  //[-------------------------------------------------------]
79  //[ CAMP reflection system ]
80  //[-------------------------------------------------------]
81  QSF_CAMP_RTTI() // Only adds the virtual method "campClassId()", nothing more
82 
83 
84  };
85 
86 
87 //[-------------------------------------------------------]
88 //[ Namespace ]
89 //[-------------------------------------------------------]
90 } // em5
91 
92 
93 //[-------------------------------------------------------]
94 //[ CAMP reflection system ]
95 //[-------------------------------------------------------]
Definition: ActionPriority.h:13
static const uint32 PLUGINABLE_ID
"em5::CloseBuildingDoorCommandMode" unique command pluginable ID
Definition: CloseBuildingDoorCommandMode.h:41
unsigned int uint32
Definition: PlatformTypes.h:181
Clock class.
Definition: Clock.h:33
#define EM5_API_EXPORT
Definition: Export.h:28
Debug draw proxy class.
Definition: DebugDrawProxy.h:46
Debug command mode abstract base class.
Definition: DebugCommandMode.h:47
#define QSF_CAMP_RTTI()
Only adds the virtual method "campClassId()", nothing more.
Definition: CampClass.h:75
Trap persons in building or vehicles (there only when the vehicle contains persons) command mode...
Definition: CloseBuildingDoorCommandMode.h:33
#define QSF_CAMP_TYPE_NONCOPYABLE(type)
See "CAMP_TYPE_NONCOPYABLE" for details.
Definition: CampClass.h:112
boost::container::flat_set< uint64 > EntityIdSet
Definition: CommandMode.h:59
Command context base class.
Definition: CommandContext.h:48