F:/Dev-Cpp/Projects/Events System 1.0 Revision/Invoker.cpp

Go to the documentation of this file.
00001 #include <string>
00002 #include "Invoker.hpp"
00003 #include "ComplexElement.hpp"
00004 
00005 using namespace std;
00006 using namespace EventsSystem;
00007 using namespace EventsSystem::Interfaces;
00008 
00009 Element &InvokerImpl::getRootElement(BaseSignal &sglRaised)
00010 {
00011         Element &elCurrent = *EventsList[sglRaised.getSignalType()];
00012         
00013         if ( !elCurrent.isSimple() )
00014         {
00015                 sglRaised.runComponent();
00016                 dynamic_cast<ComplexElement &> (elCurrent).cloneElemenetsQueue(sglRaised);
00017         }
00018         
00019         return elCurrent;
00020 }

Generated on Thu Apr 13 12:15:07 2006 for Events System by  doxygen 1.4.6-NO