Details, Explanation and Meaning About Observer pattern

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
1 Typical usages
2 Implementations
3 External link

Typical usages

The typical usages of the observer pattern:

Implementations

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:

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


Google
 
Web www.E-paranoids.com

Search Anything