public IHandleData_TemplateMethod GetTargetsDataHandle_TemplateMethod() { ITargets_Audio_Stitcher <CasBeambusStruct> audio_Stitcher = CasBeambusTargetsAudioStitcher.GetInstance(); var targetsInterpreter = new TargetsInterpreter(); return(new TargetsHandleData_Template_Method <CasBeambusStruct>(audio_Stitcher, targetsInterpreter)); }
public static CasBeambusTargetsAudioStitcher GetInstance() { if (m_casBeambusTargetsAudioStitcher == null) { m_casBeambusTargetsAudioStitcher = new CasBeambusTargetsAudioStitcher(); } return(m_casBeambusTargetsAudioStitcher); }
public IHandleData_TemplateMethod GetAudiableStreamDataHandle_TemplateMethod(IDataBase <StreamSegmentsRawData> StreamDataBase, IDataBase <TargetsAudio> AudioDataBase) { ITargets_Audio_Stitcher <CasBeambusStruct> audio_Stitcher = CasBeambusTargetsAudioStitcher.GetInstance(); const int CasSegmentsNumber = 10; var stream_Segment_Builder = new GenericStreamSegmentBuilder(CasSegmentsNumber); var streamInterpreter = new CasBeambusInterpreter(); return(new CasBeambusHandleData(stream_Segment_Builder, audio_Stitcher, streamInterpreter, StreamDataBase, AudioDataBase)); }