59 ListenerContainer::iterator iter =
listeners_.find(event);
61 for (
size_t i = 0; i < (*iter).second.size(); i++) {
62 (*iter).second[i]->handleEvent(event);
75 ListenerContainer::iterator iter =
listeners_.find(event);
77 (*iter).second.push_back(listener);
79 vector<OSEdListener*> newListenerContainer;
80 newListenerContainer.push_back(listener);
93 ListenerContainer::iterator iter =
listeners_.find(event);
95 vector<OSEdListener*>::iterator vecIter = (*iter).second.begin();
96 while (vecIter != (*iter).second.end()) {
97 if (*vecIter == listener) {
98 (*iter).second.erase(vecIter);