20 #ifndef UEVENTSMANAGER_H 21 #define UEVENTSMANAGER_H 112 static void createPipe(
115 const std::string & eventName);
117 static void removePipe(
120 const std::string & eventName);
173 virtual void dispatchEvents();
210 std::list<UEventsHandler*> getPipes(
212 const std::string & eventName);
217 const std::string & eventName);
222 const std::string & eventName);
235 eventName_(eventName)
244 std::list<std::pair<UEvent*, const UEventsSender * > >
events_;
253 #endif // UEVENTSMANAGER_H
const UEventsHandler * receiver_
std::vector< UEventsHandler * > _handlers
const std::string eventName_
virtual ~UEventDispatcher()
static UEventsManager * instance_
const UEventsSender * sender_
virtual void killCleanup()
virtual void mainLoopKill()
Pipe(const UEventsSender *sender, const UEventsHandler *receiver, const std::string &eventName)
static UDestroyer< UEventsManager > destroyer_
friend class UEventsManager
ULogger class and convenient macros.
std::list< UEventsHandler * > handlers_
std::list< std::pair< UEvent *, const UEventsSender *> > events_