Changes in src/Patterns/Observer.hpp [cd5047:40f928]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Patterns/Observer.hpp
rcd5047 r40f928 170 170 //! @cond 171 171 // Structure for RAII-Style notification 172 p rotected:172 public: 173 173 /** 174 174 * This structure implements the Observer-mechanism RAII-Idiom. … … 241 241 #define OBSERVE Observable::_Observable_protector PASTE(_scope_obs_protector_,__LINE__)(this) 242 242 #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)) 243 244 244 245 #endif /* OBSERVER_HPP_ */
Note:
See TracChangeset
for help on using the changeset viewer.