|
MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Go to the documentation of this file.
36 #ifndef OBSERVERPATTERN_H
37 #define OBSERVERPATTERN_H
43 #include "../utils_global.h"
51 #include <QSharedPointer>
75 typedef QSharedPointer<IObserver>
SPtr;
90 virtual void update(
Subject* pSubject) = 0;
102 typedef QSharedPointer<Subject>
SPtr;
176 t_Observers m_Observers;
196 #endif // OBSERVERPATTERN_H
QSharedPointer< IObserver > SPtr
QSharedPointer< Subject > SPtr
t_Observers & observers()
The IObserver interface provides the base class of every observer of the observer design pattern.
QSharedPointer< const IObserver > ConstSPtr
QSet< IObserver * > t_Observers
#define UTILSSHARED_EXPORT
static bool notifyEnabled
QSharedPointer< const Subject > ConstSPtr
The Subject class provides the base class of every subject of the observer design pattern.