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

Method resourceModifiedTime

OgreMain/src/OgreResourceGroupManager.cpp:1710–1725  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1708 }
1709 //-----------------------------------------------------------------------
1710 time_t ResourceGroupManager::resourceModifiedTime( const String &groupName,
1711 const String &resourceName )
1712 {
1713 OGRE_LOCK_AUTO_MUTEX;
1714
1715 // Try to find in resource index first
1716 ResourceGroup *grp = getResourceGroup( groupName );
1717 if( !grp )
1718 {
1719 OGRE_EXCEPT( Exception::ERR_ITEM_NOT_FOUND,
1720 "Cannot locate a resource group called '" + groupName + "'",
1721 "ResourceGroupManager::resourceModifiedTime" );
1722 }
1723
1724 return resourceModifiedTime( grp, resourceName );
1725 }
1726 //-----------------------------------------------------------------------
1727 time_t ResourceGroupManager::resourceModifiedTime( ResourceGroup *grp, const String &resourceName )
1728 {

Callers

nothing calls this directly

Calls 4

findMethod · 0.45
endMethod · 0.45
getModifiedTimeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected