data/train/cpp/685a86c72bc70807da20cd68a3d716e1776fafdeSampleManager.cpp
void
SampleManager::selectSample( smp::Sample *sample )
{
	m_selectedSample = sample;

	for ( SampleUserSet::const_iterator it = m_sampleUsers.begin(); it != m_sampleUsers.end(); ++it )
		(*it)->onSelectSample( sample );
}
/** Set the currently active sample. */
Set the currently active sample.
Set the currently active sample .
void
SampleManager::selectSample( smp::Sample *sample )
{
	m_selectedSample = sample;
	for ( SampleUserSet::const_iterator it = m_sampleUsers.begin(); it != m_sampleUsers.end(); ++it )
		(*it)->onSelectSample( sample );
}
void SampleManager :: selectSample ( smp :: Sample * sample ) { m_selectedSample = sample ; for ( SampleUserSet :: const_iterator it = m_sampleUsers . begin ( ) ; it != m_sampleUsers . end ( ) ; ++ it ) ( * it ) -> onSelectSample ( sample ) ; }
Set the currently active sample.
Set the currently active sample .