~marcustomlinson/dspatch/overall_cleanup

« back to all changes in this revision

Viewing changes to src/DspComponent.cpp

  • Committer: Marcus Tomlinson
  • Date: 2014-07-26 08:01:41 UTC
  • Revision ID: marcus.tomlinson@canonical.com-20140726080141-dwodfnmwuo7j90pa
Added alternative Get* methods that return const pointers rather than expecting a reference parameter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
 
252
252
//-------------------------------------------------------------------------------------------------
253
253
 
 
254
DspParameter const* DspComponent::GetParameter( std::string const& paramName )
 
255
{
 
256
    PauseAutoTick();
 
257
    DspParameter const* result = GetParameter_( paramName );
 
258
    ResumeAutoTick();
 
259
    return result;
 
260
}
 
261
 
 
262
//-------------------------------------------------------------------------------------------------
 
263
 
254
264
bool DspComponent::SetParameter( std::string const& paramName, DspParameter const& param )
255
265
{
256
266
  PauseAutoTick();