Lines Matching refs:m_pData
145 :m_pData( new ProgressMixer_Data( _rConsumer ) ) in ProgressMixer()
157 OSL_PRECOND( !lcl_isRunning( *m_pData ), "ProgressMixer::registerPhase: already running!" ); in registerPhase()
158 OSL_ENSURE( m_pData->aPhases.find( _nID ) == m_pData->aPhases.end(), in registerPhase()
160 m_pData->aPhases[ _nID ] = PhaseData( _nWeight ); in registerPhase()
161 m_pData->nWeightSum += _nWeight; in registerPhase()
167 OSL_ENSURE( m_pData->aPhases.find( _nID ) != m_pData->aPhases.end(), in startPhase()
170 m_pData->aPhases[ _nID ].nRange = _nPhaseRange; in startPhase()
171 m_pData->pCurrentPhase = m_pData->aPhases.find( _nID ); in startPhase()
177 OSL_PRECOND( lcl_isRunning( *m_pData ), "ProgresMixer::advancePhase: not running!" ); in advancePhase()
181 lcl_ensureInitialized( *m_pData ); in advancePhase()
183 const PhaseData& rPhase( m_pData->pCurrentPhase->second ); in advancePhase()
189 m_pData->rConsumer.advance( nOverallProgress ); in advancePhase()
195 OSL_PRECOND( lcl_isRunning( *m_pData ), "ProgresMixer::endPhase: not running!" ); in endPhase()
199 lcl_ensureInitialized( *m_pData ); in endPhase()
202 advancePhase( m_pData->pCurrentPhase->second.nRange ); in endPhase()
205 Phases::const_iterator pNextPhase( m_pData->pCurrentPhase ); in endPhase()
207 if ( pNextPhase == m_pData->aPhases.end() ) in endPhase()
208 m_pData->rConsumer.end(); in endPhase()