MCPcopy Create free account
hub / github.com/bumptop/BumpTop / getFileSystemActors

Method getFileSystemActors

trunk/win/Source/BT_SceneManager.cpp:369–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369vector<FileSystemActor *> SceneManager::getFileSystemActors(unsigned int fileSystemTypeMask, bool ignoreInvisible/*=false*/) const
370{
371 assert(GetCurrentThreadId() == _threadId);
372 // get the set of bump objects
373 vector<BumpObject *> objects;
374 if (ignoreInvisible)
375 objects = getVisibleBumpActorsAndPiles();
376 else
377 objects = _bumpObjects;
378
379 // filter the filesystem actors of the specified type
380 vector<FileSystemActor *> fsActors;
381 for (int i = 0; i < objects.size(); ++i)
382 {
383 if (objects[i]->getObjectType() == ObjectType(BumpActor, FileSystem, fileSystemTypeMask))
384 {
385 fsActors.push_back(dynamic_cast<FileSystemActor *>(objects[i]));
386 }
387 }
388 return fsActors;
389}
390
391vector<FileSystemActor *> SceneManager::getFileSystemActors(QString filePathFilter, bool ignoreNonFreeActors, bool isRegex)
392{

Callers 15

onStateChangedMethod · 0.80
removeFromPileMethod · 0.80
RenderCallbackFunction · 0.80
postPhysicsTimerCallbackFunction · 0.80
OnTimerMethod · 0.80
finalizeStateChangedMethod · 0.80
PostIntroLoadFunction · 0.80
Key_EnableSlideShowFunction · 0.80
invokeCommandMethod · 0.80

Calls 6

assertClass · 0.85
ObjectTypeClass · 0.85
isIdenticalPathMethod · 0.80
getFullPathMethod · 0.80
sizeMethod · 0.45
push_backMethod · 0.45

Tested by 4

finalizeStateChangedMethod · 0.64
onStateChangedMethod · 0.64
finalizeStateChangedMethod · 0.64
prepareStateChangedMethod · 0.64