MCPcopy Create free account
hub / github.com/baldurk/renderdoc / remoteProbe

Method remoteProbe

qrenderdoc/Windows/MainWindow.cpp:1831–1855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1829}
1830
1831void MainWindow::remoteProbe()
1832{
1833 if(!m_Ctx.IsCaptureLoaded() && !m_Ctx.IsCaptureLoading())
1834 {
1835 m_Ctx.Config().UpdateEnumeratedProtocolDevices();
1836
1837 // fetch the latest list
1838 rdcarray<RemoteHost> hosts = m_Ctx.Config().GetRemoteHosts();
1839
1840 for(RemoteHost &host : hosts)
1841 {
1842 // don't mess with a host we're connected to - this is handled anyway
1843 if(host.IsConnected())
1844 continue;
1845
1846 // this will do the bulk of the status checking on this thread without holding any lock, then
1847 // grab the remote host lock and update the config's host (if it's still there)
1848 host.CheckStatus();
1849
1850 // bail as soon as we notice that we're done
1851 if(!m_RemoteProbeSemaphore.available())
1852 return;
1853 }
1854 }
1855}
1856
1857void MainWindow::messageCheck()
1858{

Callers

nothing calls this directly

Calls 8

availableMethod · 0.80
IsCaptureLoadedMethod · 0.45
IsCaptureLoadingMethod · 0.45
ConfigMethod · 0.45
GetRemoteHostsMethod · 0.45
IsConnectedMethod · 0.45
CheckStatusMethod · 0.45

Tested by

no test coverage detected