MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / _removeObjectNoLock

Method _removeObjectNoLock

Engine/source/console/simSet.cpp:681–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679//-----------------------------------------------------------------------------
680
681void SimGroup::_removeObjectNoLock( SimObject* obj )
682{
683 if( obj->mGroup == this )
684 {
685 obj->onGroupRemove();
686
687 mNameDictionary.remove( obj );
688 objectList.remove( obj );
689 obj->mGroup = 0;
690
691 getSetModificationSignal().trigger( SetObjectRemoved, this, obj );
692 if( obj->isProperlyAdded() )
693 onObjectRemoved_callback( obj );
694 obj->decRefCount();
695 }
696}
697
698//-----------------------------------------------------------------------------
699

Callers

nothing calls this directly

Calls 5

isProperlyAddedMethod · 0.80
onGroupRemoveMethod · 0.45
removeMethod · 0.45
triggerMethod · 0.45
decRefCountMethod · 0.45

Tested by

no test coverage detected