Emergency 20 Dokumentation  4.2.0
MedicalEmergencyEventFactory-inl.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Namespace ]
6 //[-------------------------------------------------------]
7 namespace em5
8 {
9 
10 
11  //[-------------------------------------------------------]
12  //[ Public methods ]
13  //[-------------------------------------------------------]
15  {
16  return mAgeBitmask;
17  }
18 
20  {
21  mAgeBitmask = age;
22  }
23 
25  {
26  return mWeatherBitmask;
27  }
28 
30  {
31  mWeatherBitmask = weather;
32  }
33 
35  {
36  return mInsideBuilding;
37  }
38 
39  inline void MedicalEmergencyEventFactory::setInsideBuilding(bool insideBuilding)
40  {
41  mInsideBuilding = insideBuilding;
42  }
43 
44  inline const std::string& MedicalEmergencyEventFactory::getEventLayer() const
45  {
46  return mEventLayer;
47  }
48 
49  inline void MedicalEmergencyEventFactory::setEventLayer (const std::string& eventLayer)
50  {
51  mEventLayer = eventLayer;
52  }
53 
54 
55 //[-------------------------------------------------------]
56 //[ Namespace ]
57 //[-------------------------------------------------------]
58 } // em5
Definition: ActionPriority.h:13
void setAge(AgeBitmask age)
Set age bitmask.
Definition: MedicalEmergencyEventFactory-inl.h:19
AgeBitmask getAge() const
Return age bitmask.
Definition: MedicalEmergencyEventFactory-inl.h:14
void setInsideBuilding(bool insideBuilding)
Set inside building.
Definition: MedicalEmergencyEventFactory-inl.h:39
WeatherComponent::WeatherBitmask getWeather() const
Return weather bitmask.
Definition: MedicalEmergencyEventFactory-inl.h:24
bool getInsideBuilding() const
Get inside building.
Definition: MedicalEmergencyEventFactory-inl.h:34
void setWeather(WeatherComponent::WeatherBitmask weather)
Set weather bitmask.
Definition: MedicalEmergencyEventFactory-inl.h:29
const std::string & getEventLayer() const
Get event layer.
Definition: MedicalEmergencyEventFactory-inl.h:44
void setEventLayer(const std::string &eventLayer)
Set event layer.
Definition: MedicalEmergencyEventFactory-inl.h:49