Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::ObservableInterface Class Referenceabstract

#include <observer.h>

+ Inheritance diagram for inviwo::ObservableInterface:

Public Member Functions

virtual void startBlockingNotifications ()=0
 
virtual void stopBlockingNotifications ()=0
 

Protected Member Functions

virtual void addObserver (Observer *observer)=0
 
virtual void removeObserver (Observer *observer)=0
 
virtual void removeObservers ()=0
 
void addObservationHelper (Observer *observer)
 
void removeObservationHelper (Observer *observer)
 

Friends

class Observer
 

Detailed Description

Class to support observer pattern. This is an interface only, inherit from Observable<DerivedObserver> to define your own "notify()" method. An example of usage is given in the Observable class.

See also
Observable
Observer

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