| 35 | } |
| 36 | |
| 37 | bool ResourceSystem::IsBusy() const |
| 38 | { |
| 39 | if ( m_isAsyncTaskRunning ) |
| 40 | { |
| 41 | return true; |
| 42 | } |
| 43 | |
| 44 | if ( !m_activeRequests.empty() ) |
| 45 | { |
| 46 | return true; |
| 47 | } |
| 48 | |
| 49 | if ( !m_pendingRequests.empty() ) |
| 50 | { |
| 51 | return true; |
| 52 | } |
| 53 | |
| 54 | return false; |
| 55 | } |
| 56 | |
| 57 | //------------------------------------------------------------------------- |
| 58 |
no test coverage detected