- Timestamp:
- Dec 13, 2011, 12:02:21 PM (14 years ago)
- Children:
- 3324cf
- Parents:
- d85532
- git-author:
- Frederik Heber <heber@…> (12/02/11 13:13:44)
- git-committer:
- Frederik Heber <heber@…> (12/13/11 12:02:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Patterns/Observer/unittests/stubs/ObserverStub.hpp
rd85532 rb760ac5 148 148 }; 149 149 150 class RelayNotification : public Relay 151 { 152 public: 153 RelayNotification(); 154 ~RelayNotification(); 155 private: 156 }; 157 158 class RelayNotificationObserver : public Observer { 159 public: 160 RelayNotificationObserver(const Observable * const _relay); 161 virtual ~RelayNotificationObserver(); 162 163 void update(Observable*); 164 void subjectKilled(Observable*); 165 void recieveNotification(Observable *publisher, Notification_ptr notification); 166 167 bool wasNotified; 168 private: 169 const Observable * const relay; 170 }; 171 150 172 #endif /* OBSERVERSTUB_HPP_ */
Note:
See TracChangeset
for help on using the changeset viewer.
