MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | List of all members
UTILSLIB::IObserver Class Referenceabstract

The IObserver interface provides the base class of every observer of the observer design pattern. More...

#include <observerpattern.h>

Public Types

typedef QSharedPointer< IObserverSPtr
 
typedef QSharedPointer< const IObserverConstSPtr
 

Public Member Functions

virtual ~IObserver ()
 
virtual void update (Subject *pSubject)=0
 

Detailed Description

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.

Inheritance diagram for UTILSLIB::IObserver:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const IObserver> UTILSLIB::IObserver::ConstSPtr

Const shared pointer type for IObserver.

Definition at line 76 of file observerpattern.h.

◆ SPtr

typedef QSharedPointer<IObserver> UTILSLIB::IObserver::SPtr

Shared pointer type for IObserver.

Definition at line 75 of file observerpattern.h.

Constructor & Destructor Documentation

◆ ~IObserver()

virtual UTILSLIB::IObserver::~IObserver ( )
inlinevirtual

Destroys the IObserver.

Definition at line 82 of file observerpattern.h.

Member Function Documentation

◆ update()

virtual void UTILSLIB::IObserver::update ( Subject pSubject)
pure virtual

Updates the IObserver.

Parameters
[in]pSubjectpointer to the subject where observer is attached to.

Implemented in COMMUNICATIONLIB::CommandManager.


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