Emergency 20 Dokumentation  4.2.0
GenericMainEventFactory.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  //[-------------------------------------------------------]
31  {
32 
33 
34  //[-------------------------------------------------------]
35  //[ Public methods ]
36  //[-------------------------------------------------------]
37  public:
42  GenericMainEventFactory(const std::string& eventClassName);
43 
48  virtual ~GenericMainEventFactory();
49 
50 
51  //[-------------------------------------------------------]
52  //[ Public virtual em5::FreeplayEventFactory methods ]
53  //[-------------------------------------------------------]
54  public:
55  virtual FreeplayEvent* tryTriggerEvent() override;
56 
57 
58  //[-------------------------------------------------------]
59  //[ Private data ]
60  //[-------------------------------------------------------]
61  private:
62  const std::string mEventClassName;
63 
64 
65  };
66 
67 
68 //[-------------------------------------------------------]
69 //[ Namespace ]
70 //[-------------------------------------------------------]
71 } // em5
virtual ~GenericMainEventFactory()
Destructor.
Definition: ActionPriority.h:13
GenericMainEventFactory(const std::string &eventClassName)
Default constructor.
EMERGENCY 5 freeplay event factory base class.
Definition: FreeplayEventFactory.h:56
virtual FreeplayEvent * tryTriggerEvent() override
Abstract EMERGENCY 5 freeplay event base class.
Definition: FreeplayEvent.h:66
Generic main event factory base class.
Definition: GenericMainEventFactory.h:30