Registers an event mapper with the dispatcher.
The ownership of the "mapper" variable will pass to the EventDispatcher, thus it will be deleted with "delete", when EventDispatcher is destroyed.
Note there is only one mapper per EventDispatcher possible, thus when this method is called twice, the former mapper will be destroied.
Definition at line 74 of file EventDispatcher.cpp.
_mapper = mapper;