C4 Engine
C4 Engine API Documentation

Observable::RemoveObserver

Defined in:  TSObservable.h
Removes an observer from an observable object.
Prototype

void RemoveObserver(ObserverType *observer);

Parameters
observer The observer to remove.
Description
The RemoveObserver function removes the observer specified by the observer parameter from an observable object. The observer must have been previously installed through a call to the Observable::AddObserver function.

When an observable object is destroyed, all of its observers are automatically removed.
See Also

Observable::HasObservers

Observable::AddObserver