MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ reset()

template<ComputeData InputType = Eigen::MatrixXd, ComputeData OutputType = std::vector<std::vector<double>>>
void MayaFlux::Yantra::IntervalExtractor< InputType, OutputType >::reset ( )
inline

Start a new stream: forget the detector state of every channel.

Waits for an outstanding submission and discards its result.

Definition at line 484 of file IntervalExtractor.hpp.

485 {
486 if (m_recording) {
487 m_recording->wait();
488 }
489 m_outstanding.reset();
490 m_last_calls.clear();
491 m_seen.clear();
492 m_started.clear();
493 }
std::shared_ptr< GpuDispatchRecorder > m_recording
std::optional< Outstanding > m_outstanding
std::vector< ChannelCall > m_last_calls