MCPcopy Create free account
hub / github.com/NatLabRockies/SAM / Entry

Method Entry

src/simulation.cpp:1877–1901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1875 }
1876
1877 virtual void* Entry()
1878 {
1879 m_canceled = false;
1880 for (size_t i = 0; i < m_list.size(); i++)
1881 {
1882 m_curName = m_list[i]->GetName();
1883
1884 // clear any saved messages from the previous simulation
1885 ClearSavedMessages();
1886 if (m_list[i]->InvokeSSCWithHandler(this, m_data))
1887 {
1888 wxMutexLocker _lock(m_nokLock);
1889 m_nok++;
1890 }
1891
1892 m_currentLock.Lock();
1893 m_current++;
1894 m_currentLock.Unlock();
1895
1896 wxMutexLocker _lock(m_cancelLock);
1897 if (m_canceled) break;
1898 }
1899
1900 return 0;
1901 }
1902
1903 virtual bool WriteDebugFile(const wxString&, ssc_module_t, ssc_data_t) { return false; };
1904

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.80
InvokeSSCWithHandlerMethod · 0.80
GetNameMethod · 0.45

Tested by

no test coverage detected