MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / deleteAllObjects

Method deleteAllObjects

Engine/source/console/simSet.cpp:413–424  ·  view source on GitHub ↗

UNSAFE

Source from the content-addressed store, hash-verified

411
412//UNSAFE
413void SimSet::deleteAllObjects()
414{
415 lock();
416 while( !empty() )
417 {
418 SimObject* object = mObjectList.last();
419 mObjectList.pop_back();
420
421 object->deleteObject();
422 }
423 unlock();
424}
425
426//-----------------------------------------------------------------------------
427

Callers 9

simSet.cppFile · 0.80
simDatablock.cppFile · 0.80
unloadModuleGroupMethod · 0.80
unloadModuleExplicitMethod · 0.80
~SFXSystemMethod · 0.80
resetMethod · 0.80
resetMethod · 0.80
deleteCoverPointsMethod · 0.80
createCoverPointsMethod · 0.80

Calls 4

emptyFunction · 0.50
lastMethod · 0.45
pop_backMethod · 0.45
deleteObjectMethod · 0.45

Tested by

no test coverage detected