Changeset 1079 for applications/bdmtoolbox/mex
- Timestamp:
- 06/10/10 21:54:57 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/mex/merger.cpp
r801 r1079 59 59 Array<shared_ptr<pdf> > Sources; 60 60 UI::get(Sources, Cfg, "Sources", UI::compulsory); 61 shared_ptr< merger_base> Merger = UI::build<merger_base> ( Cfg, "Merger" );61 shared_ptr<MergerDiscrete> Merger = UI::build<MergerDiscrete> ( Cfg, "Merger" ); 62 62 63 63 // Support … … 82 82 for ( int i = 0;i < Sources.length();i++ ) { 83 83 datalink_m2e dl; 84 dl.set_connection ( Sources ( i )->_rv(), Sources ( i )->_rvc(), Merger-> _rv() );84 dl.set_connection ( Sources ( i )->_rv(), Sources ( i )->_rvc(), Merger->merger()._rv() ); 85 85 86 86 vec ll ( Merger->_Smp()._samples().length() ); … … 102 102 vec ll ( Merger->_Smp()._samples().length() ); 103 103 for ( int j = 0; j < Merger->_Smp()._samples().length(); j++ ) { 104 ll ( j ) = Mer ger->evallog ( Merger->_Smp()._samples() ( j ));104 ll ( j ) = MerMix->merger()._w ()(j); 105 105 } 106 106