Changeset 5882 for code/branches/core5/src/modules
- Timestamp:
- Oct 5, 2009, 9:57:05 PM (15 years ago)
- Location:
- code/branches/core5/src/modules/objects/eventsystem
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/objects/eventsystem/EventDispatcher.cc
r5800 r5882 54 54 SUPER(EventDispatcher, XMLPort, xmlelement, mode); 55 55 56 XMLPortObject(EventDispatcher, EventTarget, "targets", addTarget, getTarget, xmlelement, mode);56 XMLPortObject(EventDispatcher, BaseObject, "targets", addTarget, getTarget, xmlelement, mode); 57 57 } 58 58 … … 60 60 { 61 61 for (std::list<EventTarget*>::iterator it = this->targets_.begin(); it != this->targets_.end(); ++it) 62 (*it)-> fireEvent(event);62 (*it)->processEvent(event); 63 63 } 64 64 -
code/branches/core5/src/modules/objects/eventsystem/EventTarget.cc
r5866 r5882 42 42 { 43 43 } 44 45 void EventTarget::processEvent(Event& event) 46 { 47 this->fireEvent(event); 48 } 44 49 45 50 void EventTarget::changedName() -
code/branches/core5/src/modules/objects/eventsystem/EventTarget.h
r5866 r5882 42 42 EventTarget(BaseObject* creator); 43 43 virtual ~EventTarget(); 44 45 virtual void processEvent(Event& event); 44 46 45 47 virtual void changedName();
Note: See TracChangeset
for help on using the changeset viewer.