Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Patterns/Observer.hpp

    rcd5047 r40f928  
    170170  //! @cond
    171171  // Structure for RAII-Style notification
    172 protected:
     172public:
    173173  /**
    174174   * This structure implements the Observer-mechanism RAII-Idiom.
     
    241241#define OBSERVE Observable::_Observable_protector PASTE(_scope_obs_protector_,__LINE__)(this)
    242242#define NOTIFY(notification) do{Observable::enque_notification_internal(this,notification);}while(0)
     243#define LOCK_OBSERVABLE(observable) Observable::_Observable_protector PASTE(_scope_obs_protector_,__LINE__)(&(observable))
    243244
    244245#endif /* OBSERVER_HPP_ */
Note: See TracChangeset for help on using the changeset viewer.