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

◆ stop()

void MayaFlux::IO::VolumeCapture::stop ( )

Cancel the capture routine.

Frames already written are kept.

Definition at line 325 of file VolumeTransfer.cpp.

326{
327 if (!m_recording) {
328 return;
329 }
330
332 m_task_name.clear();
333 m_recording = false;
334
336 "VolumeCapture: stopped after {} frames", m_frame);
337}
#define MF_INFO(comp, ctx,...)
Vruta::TaskScheduler & m_scheduler
bool cancel_task(const std::shared_ptr< Routine > &routine)
Cancels and removes a task from the scheduler.
@ FileIO
Filesystem I/O operations.
@ IO
Networking, file handling, streaming.

References MayaFlux::Vruta::TaskScheduler::cancel_task(), MayaFlux::Journal::FileIO, MayaFlux::Journal::IO, m_frame, m_recording, m_scheduler, m_task_name, and MF_INFO.

Referenced by start(), and ~VolumeCapture().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: