MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / removeResponseHandler

Method removeResponseHandler

OgreMain/src/OgreWorkQueue.cpp:183–193  ·  view source on GitHub ↗

---------------------------------------------------------------------

Source from the content-addressed store, hash-verified

181 }
182 //---------------------------------------------------------------------
183 void DefaultWorkQueueBase::removeResponseHandler( uint16 channel, ResponseHandler *rh )
184 {
185 ResponseHandlerListByChannel::iterator i = mResponseHandlers.find( channel );
186 if( i != mResponseHandlers.end() )
187 {
188 ResponseHandlerList &handlers = i->second;
189 ResponseHandlerList::iterator j = std::find( handlers.begin(), handlers.end(), rh );
190 if( j != handlers.end() )
191 handlers.erase( j );
192 }
193 }
194 //---------------------------------------------------------------------
195 WorkQueue::RequestID DefaultWorkQueueBase::addRequest( uint16 channel, uint16 requestType,
196 const Any &rData, uint8 retryCount,

Callers 4

~ChunkHandlerMethod · 0.80
~PageMethod · 0.80
~LodWorkQueueInjectorMethod · 0.80
shutdownMethod · 0.80

Calls 5

findFunction · 0.85
findMethod · 0.45
endMethod · 0.45
beginMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected