40 #ifndef _eventpublisher_h
41 #define _eventpublisher_h
85 void RemoveEvent(
const String& EventName);
88 void RemoveAllEvents();
100 void SetMuteEvents(
const Boole Mute);
103 Boole GetMuteEvents()
const;
114 Event* GetEventExcept(
const String& EventName)
const;
161 Whole UnsubscribeAll();
Basic class definition for functors used by a FunctorSubscriberSlot.
bool Boole
Generally acts a single bit, true or false.
This class represents a given event that can be subscribed to and/or fired.
EventContainer Events
A container storing all the Events published by this class by name.
This is a base class for all classes that subscribe to events.
A simple reference counting pointer.
EventContainer::const_iterator ConstEventIterator
Const Iterator type for Event instances stored by this class.
This implements the exception hiearchy for Mezzanine.
This is the base class for any class that generates and publishes events to subscribers.
The interface for a script.
void( SubscriberFunction)(EventArgumentsPtr Args)
This is a convenience typedef for a c-style method that accepts EventArguments.
This class represents a slot in an event that can be subscribed to via subscribers, functors, or methods.
Boole MuteEvents
Stores whether or not events will actually be fired when requested.
std::map< String, Event * > EventContainer
Basic container type for Event storage by this class.
The bulk of the engine components go in this namspace.
EventContainer::iterator EventIterator
Iterator type for Event instances stored by this class.
unsigned long Whole
Whole is an unsigned integer, it will be at least 32bits in size.
std::string String
A datatype used to a series of characters.