ICP  1
icp_notifications.h
Go to the documentation of this file.
1 #ifndef ICP_NOTIFIATIONS
2 #define ICP_NOTIFIATIONS
3 
4 class ICPNotification : public Poco::Notification
5 {
6 
7 };
8 
10 {
11  std::string m_state;
13 public:
14  RunStateChangeNotification(const std::string& state) : m_state(state) { }
15 };
16 
18 {
19 public:
21 };
22 
24 {
25  public:
26  void handleNotification(ICPNotification* pNf) // called by Poco::Observer
27  {
28  //pNf->name();
29  pNf->release();
30  }
31  void handleNotification(const Poco::AutoPtr<ICPNotification>& /*pNf*/) // called by Poco::NObserver
32  {
33  //pNf->name();
34  }
35 };
36 
37 #endif /* ICP_NOTIFIATIONS */
RunStateChangeNotification(const std::string &state)
void handleNotification(ICPNotification *pNf)
void handleNotification(const Poco::AutoPtr< ICPNotification > &)