40 #ifndef _eventpublisher_cpp
41 #define _eventpublisher_cpp
43 #include "eventpublisher.h"
59 Ev =
new Event(EventName);
60 this->
Events[EventName] = Ev;
71 if( EvIt != this->
Events.end() ) {
72 delete (*EvIt).second;
81 delete (*EvIt).second;
92 if( EvIt != this->
Events.end() )
return (*EvIt).second;
99 if( EvIt != this->
Events.end() ) {
100 return (*EvIt).second;
128 { (*EventIt).second->Unsubscribe(Subscriber); }
134 { (*EventIt).second->Unsubscribe(Funct); }
140 { (*EventIt).second->Unsubscribe(CFunct); }
146 { (*EventIt).second->Unsubscribe(SubScript); }
152 { (*EventIt).second->Unsubscribe(SubSlot); }
159 { Ret += (*EventIt).second->UnsubscribeAll(); }