30 #ifndef _CEGUIEventSet_h_
31 #define _CEGUIEventSet_h_
33 #include "CEGUI/Base.h"
34 #include "CEGUI/String.h"
35 #include "CEGUI/Event.h"
36 #include "CEGUI/IteratorBase.h"
39 #if defined (_MSC_VER)
40 # pragma warning(push)
41 # pragma warning(disable : 4251)
92 void addEvent(
const String& name);
109 void addEvent(
Event& event);
120 void removeEvent(
const String& name);
131 void removeEvent(
Event& event);
138 void removeAllEvents(
void);
149 bool isEventPresent(
const String& name);
197 template<
typename Arg1,
typename Arg2>
208 template<
typename Arg1,
typename Arg2>
230 const String& subscriber_name);
253 const String& subscriber_name);
274 const String& eventNamespace =
"");
287 bool isMuted(
void)
const;
299 void setMutedState(
bool setting);
320 Event* getEventObject(
const String& name,
bool autoAdd =
false);
330 EventSet& operator=(EventSet&)
335 typedef std::map<String, Event*, StringFastLessCompare
336 CEGUI_MAP_ALLOC(String, Event*)> EventMap;
358 #if defined(_MSC_VER)
359 # pragma warning(pop)
362 #endif // end of guard _CEGUIEventSet_h_