Ignore:
Timestamp:
Jul 14, 2014, 8:36:58 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Children:
e93bfe
Parents:
44f368
git-author:
Frederik Heber <heber@…> (10/15/13 13:31:42)
git-committer:
Frederik Heber <heber@…> (07/14/14 20:36:58)
Message:

FIX: Fixes to Graveyard and Zombies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Observer/Notification.cpp

    r44f368 rf3d16a  
    2222#include "CodePatterns/Observer/Notification.hpp"
    2323#include "CodePatterns/Observer/Observer.hpp"
    24 
     24#include "CodePatterns/Observer/ObserverLog.hpp"
    2525
    2626Notification::Notification(size_t _channelno) :
     
    4444  for(std::set<Observer*>::iterator it=targets.begin();
    4545      it!=targets.end();++it){
     46#ifdef LOG_OBSERVER
     47    observerLog().addMessage() << "-> Sending update from " << observerLog().getName(publisher)
     48                               << " for channel " << channelno
     49                               << " to " << observerLog().getName(*it);
     50#endif
    4651    (*it)->recieveNotification(publisher,this);
    4752  }
Note: See TracChangeset for help on using the changeset viewer.