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

Method debugEnumInstances

Engine/source/console/engineObject.cpp:246–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244//-----------------------------------------------------------------------------
245
246void EngineObject::debugEnumInstances( const std::type_info& type, DebugEnumInstancesCallback callback )
247{
248 for( EngineObject* object = smFirstEngineObject; object != NULL; object = object->mNextEngineObject )
249 if( typeid( *object ) == type )
250 {
251 // Set breakpoint here to break for each instance.
252 if( callback )
253 callback( object );
254 }
255}
256
257//-----------------------------------------------------------------------------
258

Callers

nothing calls this directly

Calls 5

callbackFunction · 0.85
TYPEOFFunction · 0.85
dStricmpFunction · 0.85
getSuperTypeMethod · 0.80
getTypeNameMethod · 0.45

Tested by

no test coverage detected