29 #ifndef _CEGUIEventSet_h_
30 #define _CEGUIEventSet_h_
32 #include "CEGUI/Base.h"
33 #include "CEGUI/String.h"
34 #include "CEGUI/Event.h"
35 #include "CEGUI/IteratorBase.h"
38 #if defined (_MSC_VER)
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
91 void addEvent(
const String& name);
108 void addEvent(
Event& event);
119 void removeEvent(
const String& name);
130 void removeEvent(
Event& event);
137 void removeAllEvents(
void);
148 bool isEventPresent(
const String& name);
196 template<
typename Arg1,
typename Arg2>
207 template<
typename Arg1,
typename Arg2>
229 const String& subscriber_name);
252 const String& subscriber_name);
273 const String& eventNamespace =
"");
286 bool isMuted(
void)
const;
298 void setMutedState(
bool setting);
319 Event* getEventObject(
const String& name,
bool autoAdd =
false);
329 EventSet& operator=(EventSet&)
334 typedef std::map<String, Event*, StringFastLessCompare
335 CEGUI_MAP_ALLOC(String, Event*)> EventMap;
357 #if defined(_MSC_VER)
358 # pragma warning(pop)
361 #endif // end of guard _CEGUIEventSet_h_