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

Method Entry

src/simulation.cpp:1737–1761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1735 }
1736
1737 virtual void *Entry()
1738 {
1739 m_canceled = false;
1740 for( size_t i=0;i<m_list.size();i++ )
1741 {
1742 m_curName = m_list[i]->GetName();
1743
1744 // clear any saved messages from the previous simulation
1745 ClearSavedMessages();
1746 if ( m_list[i]->InvokeWithHandler( this ) )
1747 {
1748 wxMutexLocker _lock(m_nokLock);
1749 m_nok++;
1750 }
1751
1752 m_currentLock.Lock();
1753 m_current++;
1754 m_currentLock.Unlock();
1755
1756 wxMutexLocker _lock(m_cancelLock);
1757 if (m_canceled) break;
1758 }
1759
1760 return 0;
1761 }
1762
1763 virtual bool WriteDebugFile( const wxString &, ssc_module_t, ssc_data_t ) {return false; };
1764

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.80
InvokeWithHandlerMethod · 0.80
GetNameMethod · 0.45

Tested by

no test coverage detected