一.Notification.cpp:
#include <Poco/NotificationCenter.h>
#include <Poco/Notification.h>
#include <Poco/Observer.h>
#include <Poco/NObserver.h>
#include <Poco/AutoPtr.h>
#include <iostream>
using Poco::NotificationCenter;
using Poco::Notification;
using Poco::Observer;
using Poco::NObserver;
using Poco::AutoPtr;
class BaseNotification:public Notification{
public:
BaseNotification(){
std::cout<<"construct BaseNotification"<<std::endl;
}
~BaseNotification(){
std::cout<<"destruct BaseNotification"<<std::endl;
}
};
class