lemon/bits/alteration_notifier.h
changeset 1993 2115143eceea
parent 1979 c2992fd74dad
child 1996 5dc13b93f8b4
equal deleted inserted replaced
14:9f8ad23552b5 15:0a432f6ed30b
    14  * express or implied, and with no claim as to its suitability for any
    14  * express or implied, and with no claim as to its suitability for any
    15  * purpose.
    15  * purpose.
    16  *
    16  *
    17  */
    17  */
    18 
    18 
    19 #ifndef LEMON_ALTERATION_OBSERVER_REGISTRY_H
    19 #ifndef LEMON_ALTERATION_NOTIFIER_H
    20 #define LEMON_ALTERATION_OBSERVER_REGISTRY_H
    20 #define LEMON_ALTERATION_NOTIFIER_H
    21 
    21 
    22 #include <vector>
    22 #include <vector>
    23 #include <algorithm>
    23 #include <algorithm>
    24 
    24 
    25 ///\ingroup graphmapfactory
    25 ///\ingroup graphmapfactory
    26 ///\file
    26 ///\file
    27 ///\brief Observer registry for graph alteration observers.
    27 ///\brief Observer registry for graph alteration observers.
    28 
    28 
    29 namespace lemon {
    29 namespace lemon {
    30 
    30 
    31   /// \addtogroin graphmapfactory
    31   /// \addtogroup graphmapfactory
    32   /// @{
    32   /// @{
    33 
    33 
    34   /// \brief Registry class to register objects observes alterations in 
    34   /// \brief Registry class to register objects observes alterations in 
    35   /// the graph.
    35   /// the graph.
    36   ///
    36   ///
    49   /// \author Balazs Dezso
    49   /// \author Balazs Dezso
    50 
    50 
    51   template <typename _Item>
    51   template <typename _Item>
    52   class AlterationNotifier {
    52   class AlterationNotifier {
    53   public:
    53   public:
       
    54 
       
    55     typedef True Notifier;
       
    56 
    54     typedef _Item Item;
    57     typedef _Item Item;
    55 
    58 
    56     /// ObserverBase is the base class for the observers.
    59     /// ObserverBase is the base class for the observers.
    57 	
    60 	
    58     /// ObserverBase is the abstract base class for the observers.
    61     /// ObserverBase is the abstract base class for the observers.