Emergency 20 Dokumentation  4.2.0
BuildingOverlayComponent-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  // Nothing to do in here
17  }
18 
19  inline const std::vector<BuildingOverlayProvider>& BuildingOverlayComponent::getRegisteredProviders() const
20  {
21  return mRegisteredProviders;
22  }
23 
25  {
26  return isContentEmpty();
27  }
28 
30  {
31  return mNumberOfRequiredProviders;
32  }
33 
34 
35 //[-------------------------------------------------------]
36 //[ Namespace ]
37 //[-------------------------------------------------------]
38 } // em5
Definition: ActionPriority.h:13
unsigned int uint32
Definition: PlatformTypes.h:181
bool isEmpty() const
Definition: BuildingOverlayComponent-inl.h:24
virtual bool isContentEmpty() const override
Check whether or not there is any content to show inside the overlay.
virtual ~BuildingOverlayComponent()
Destructor.
Definition: BuildingOverlayComponent-inl.h:14
uint32 getNumberOfRequiredProviders() const
Definition: BuildingOverlayComponent-inl.h:29
const std::vector< BuildingOverlayProvider > & getRegisteredProviders() const
Definition: BuildingOverlayComponent-inl.h:19