MNE-CPP  beta 1.0
Public Types | Public Member Functions | List of all members
IObserver Class Referenceabstract

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

#include <observerpattern.h>

Inheritance diagram for IObserver:
RTCOMMANDLIB::CommandManager XDISPLIB::MeasurementWidget

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 71 of file observerpattern.h.

Member Typedef Documentation

typedef QSharedPointer<const IObserver> IObserver::ConstSPtr

Const shared pointer type for IObserver.

Definition at line 75 of file observerpattern.h.

typedef QSharedPointer<IObserver> IObserver::SPtr

Shared pointer type for IObserver.

Definition at line 74 of file observerpattern.h.

Constructor & Destructor Documentation

virtual IObserver::~IObserver ( )
inlinevirtual

Destroys the IObserver.

Definition at line 81 of file observerpattern.h.

Member Function Documentation

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

Updates the IObserver.

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

Implemented in RTCOMMANDLIB::CommandManager, and XDISPLIB::MeasurementWidget.


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