35 #ifndef __ScopeManager_H__ 36 #define __ScopeManager_H__ 75 {
return this->listeners_[scope]; }
85 std::map<ScopeID::Value, std::set<ScopeListener*>>
listeners_;
ScopeListeners register themselves in the corresponding Scope and wait for notifications.
Definition: Scope.h:68
Shared library macros, enums, constants and forward declarations for the core library ...
Base for singleton classes.
Definition: Singleton.h:114
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
std::set< ScopeID::Value > activeScopes_
Definition: ScopeManager.h:84
#define _CoreExport
Definition: CorePrereqs.h:61
static ScopeManager * singletonPtr_s
Definition: ScopeManager.h:87
std::map< ScopeID::Value, std::set< ScopeListener * > > listeners_
Stores all listeners for a scope.
Definition: ScopeManager.h:85
Definition of the Singleton template that is used as base class for classes that allow only one insta...
The ScopeManager stores the variables of the Scope templates in a statically linked context...
Definition: ScopeManager.h:56
const std::set< ScopeListener * > & getListeners(ScopeID::Value scope)
Returns all registered listeners for a given scope.
Definition: ScopeManager.h:74
int Value
Definition: CorePrereqs.h:82