MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The IObserver interface provides the base class of every observer of the observer design pattern. More...
#include <observerpattern.h>
Public Types | |
typedef QSharedPointer< IObserver > | SPtr |
typedef QSharedPointer< const IObserver > | ConstSPtr |
Public Member Functions | |
virtual | ~IObserver () |
virtual void | update (Subject *pSubject)=0 |
The IObserver interface provides the base class of every observer of the observer design pattern.
DECLARE INTERFACE OBSERVER
Definition at line 72 of file observerpattern.h.
typedef QSharedPointer<const IObserver> UTILSLIB::IObserver::ConstSPtr |
Const shared pointer type for IObserver.
Definition at line 76 of file observerpattern.h.
typedef QSharedPointer<IObserver> UTILSLIB::IObserver::SPtr |
Shared pointer type for IObserver.
Definition at line 75 of file observerpattern.h.
|
inlinevirtual |
Destroys the IObserver.
Definition at line 82 of file observerpattern.h.
|
pure virtual |
Updates the IObserver.
[in] | pSubject | pointer to the subject where observer is attached to. |
Implemented in COMMUNICATIONLIB::CommandManager.