“通知”操作需要一个待通知的观察器列表。在图中作出以下更改:
below.omcout << "Activating alarm..." << omendl;
omcout << "Calling the police..." << omendl;