Changeset 5887 for code/branches/core5/src/modules/objects/eventsystem
- Timestamp:
- Oct 6, 2009, 4:51:08 AM (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
r5886 r5887 54 54 55 55 XMLPortObject(EventDispatcher, BaseObject, "targets", addTarget, getTarget, xmlelement, mode); 56 57 // since we need event sources mapped to any state, we have to parse XML by ourselves 58 this->loadAllEventStates(xmlelement, mode, this, Class(EventDispatcher)); 56 59 } 57 60 -
code/branches/core5/src/modules/objects/eventsystem/EventTarget.cc
r5882 r5887 29 29 #include "EventTarget.h" 30 30 #include "core/CoreIncludes.h" 31 #include "core/XMLPort.h" 31 32 32 33 namespace orxonox … … 43 44 } 44 45 46 void EventTarget::XMLPort(Element& xmlelement, XMLPort::Mode mode) 47 { 48 SUPER(EventTarget, XMLPort, xmlelement, mode); 49 50 // since we need event sources mapped to any state, we have to parse XML by ourselves 51 this->loadAllEventStates(xmlelement, mode, this, Class(EventTarget)); 52 } 53 45 54 void EventTarget::processEvent(Event& event) 46 55 { -
code/branches/core5/src/modules/objects/eventsystem/EventTarget.h
r5882 r5887 43 43 virtual ~EventTarget(); 44 44 45 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 46 45 47 virtual void processEvent(Event& event); 46 48
Note: See TracChangeset
for help on using the changeset viewer.