Observable::RemoveObserver
Defined in:
Removes an observer from an observable object.
TSObservable.h
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