Observer pattern Guide, Meaning , Facts, Information and Description
The observer pattern is a design pattern used in computer programming to observe the state of an object in a program.The essence of this pattern is that several objects (called listeners) are registered to hear for an event which may be raised by some object. (The object which may raise an event holds a list of the listeners.)
When the event is raised for each listener is called a some callback (which may be either a virtual method of the listeners class or a function pointer (more generally a functor) passed as an argument to the listener registration method).
| Table of contents |
|
2 Implementations 3 External link |
The typical usages of the observer pattern:
The observer pattern is implemented in numerous programming libraries and systems, including almost all GUI toolkits.
Some of the most notable implementations of this pattern:
Typical usages
Implementations
External link
http://www.dofactory.com/Patterns/PatternObserver.aspx
This is an Article on Observer pattern. Page Contains Information, Facts Details or Explanation Guide About Observer pattern
