Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::motion::InputRecorder Class Reference

Recording handle returned by make_input_recorder. More...

#include <motion.hpp>

Public Member Functions

 InputRecorder () noexcept=default
 InputRecorder (InputRecorder &&) noexcept
InputRecorder & operator= (InputRecorder &&) noexcept
 InputRecorder (const InputRecorder &)=delete
InputRecorder & operator= (const InputRecorder &)=delete
 ~InputRecorder ()
void stop ()
 Stop recording inputs and close the fixture sink. Idempotent.
bool is_recording () const noexcept

Friends

InputRecorder make_input_recorder (std::string path)
 Install a fixture sink at path and enable simulate_* recording.

Detailed Description

Recording handle returned by make_input_recorder.

RAII: destruction removes the installed sink and turns input recording back off.

Constructor & Destructor Documentation

◆ InputRecorder() [1/3]

pulp::view::motion::InputRecorder::InputRecorder ( )
defaultnoexcept

◆ InputRecorder() [2/3]

pulp::view::motion::InputRecorder::InputRecorder ( InputRecorder && )
noexcept

◆ InputRecorder() [3/3]

pulp::view::motion::InputRecorder::InputRecorder ( const InputRecorder & )
delete

◆ ~InputRecorder()

pulp::view::motion::InputRecorder::~InputRecorder ( )

Member Function Documentation

◆ is_recording()

bool pulp::view::motion::InputRecorder::is_recording ( ) const
inlinenoexcept

◆ operator=() [1/2]

InputRecorder & pulp::view::motion::InputRecorder::operator= ( const InputRecorder & )
delete

◆ operator=() [2/2]

InputRecorder & pulp::view::motion::InputRecorder::operator= ( InputRecorder && )
noexcept

◆ stop()

void pulp::view::motion::InputRecorder::stop ( )

Stop recording inputs and close the fixture sink. Idempotent.

◆ make_input_recorder

InputRecorder make_input_recorder ( std::string path)
friend

Install a fixture sink at path and enable simulate_* recording.

Returns an InputRecorder whose destructor stops both the sink and the recording. Off by default. Repeated calls install independent recorders; each gets its own sink id.


The documentation for this class was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/motion.hpp