MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / Purify

Method Purify

src/clientbase/EventHandler.cpp:148–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146//============================================================================//
147
148void EventHandler::Purify() {
149 if (!dirtyLists.empty()) {
150 debugf(3, "EventHandler::Purify() purifying %i list\n",
151 (int)dirtyLists.size());
152 }
153 std::set<EventClientList*>::iterator it;
154 for (it = dirtyLists.begin(); it != dirtyLists.end(); ++it) {
155 (*it)->purify();
156 }
157 dirtyLists.clear();
158}
159
160
161void EventHandler::AddClient(EventClient* ec) {

Callers 1

playingLoopFunction · 0.80

Calls 7

debugfFunction · 0.85
purifyMethod · 0.80
emptyMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected