Orxonox  0.0.5 Codename: Arcturus
Protected Member Functions | Private Attributes | Friends | List of all members
orxonox::ScopeListener Class Referenceabstract

ScopeListeners register themselves in the corresponding Scope and wait for notifications. More...

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/singleton/Scope.h>

Inheritance diagram for orxonox::ScopeListener:
orxonox::ScopedSingletonWrapper orxonox::ClassScopedSingletonWrapper< T, allowedToFail > orxonox::ClassScopedSingletonWrapper< T, true >

Protected Member Functions

 ScopeListener ()
 
virtual ~ScopeListener ()=default
 
virtual void activated ()=0
 Gets called if the scope is activated. More...
 
virtual void deactivated ()=0
 Gets called if the scope is deactivated. More...
 

Private Attributes

bool bActivated_
 

Friends

class ScopeManager
 

Detailed Description

ScopeListeners register themselves in the corresponding Scope and wait for notifications.

Notifications are sent if a Scope is activated or deactivated.

See also
See this description for details about the interrelationship of Scope, ScopeListener, and ScopeManager.

Constructor & Destructor Documentation

orxonox::ScopeListener::ScopeListener ( )
inlineprotected
virtual orxonox::ScopeListener::~ScopeListener ( )
protectedvirtualdefault

Member Function Documentation

virtual void orxonox::ScopeListener::activated ( )
protectedpure virtual
virtual void orxonox::ScopeListener::deactivated ( )
protectedpure virtual

Friends And Related Function Documentation

friend class ScopeManager
friend

Member Data Documentation

bool orxonox::ScopeListener::bActivated_
private

The documentation for this class was generated from the following file: