- Timestamp:
- Dec 26, 2025, 9:40:14 PM (2 days ago)
- Branches:
- Candidate_v1.7.1, stable
- Children:
- 033646
- Parents:
- f2d5ce
- git-author:
- Frederik Heber <frederik.heber@…> (12/10/25 16:15:28)
- git-committer:
- Frederik Heber <frederik.heber@…> (12/26/25 21:40:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/CodePatterns/src/Observer/unittests/stubs/ObserverStub.cpp
rf2d5ce rc8cb0d 133 133 134 134 NotificationObservable::NotificationObservable() : 135 Observable("NotificationObservable") 136 { 137 Channels *OurChannel = new Channels(); 138 Observable::insertNotificationChannel( std::make_pair(this, OurChannel) ); 139 OurChannel->addChannel(Operation1Notify); 140 OurChannel->addChannel(Operation2Notify); 141 } 135 Observable("NotificationObservable", { Operation1Notify, Operation2Notify }) 136 {} 142 137 143 138 NotificationObservable::~NotificationObservable() … … 242 237 243 238 RelayNotification::RelayNotification() : 244 Relay(std::string("RelayTest")) 245 { 246 Channels *OurChannel = new Channels(); 247 Observable::insertNotificationChannel( std::make_pair(this, OurChannel) ); 248 OurChannel->addChannel(NotificationObservable::Operation1Notify); 249 OurChannel->addChannel(NotificationObservable::Operation2Notify); 250 } 239 Relay(std::string("RelayTest"), { NotificationObservable::Operation1Notify, NotificationObservable::Operation2Notify }) 240 {} 251 241 252 242 RelayNotification::~RelayNotification()
Note:
See TracChangeset
for help on using the changeset viewer.
