Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::state::ParamCursor Class Reference

#include <param_cursor.hpp>

Public Member Functions

 ParamCursor (const StateStore &store, const ParameterEventQueue *events, std::span< const ParamSnapshotEntry > initial_values={})
void advance_to (int32_t sample_offset)
float value (ParamID id) const
float value_at (ParamID id, int32_t sample_offset) const
bool is_ramping (ParamID id) const
float ramp_target (ParamID id) const
int32_t ramp_end_offset (ParamID id) const
bool is_tracked (ParamID id) const
std::size_t tracked_param_count () const
int32_t position () const

Constructor & Destructor Documentation

◆ ParamCursor()

pulp::state::ParamCursor::ParamCursor ( const StateStore & store,
const ParameterEventQueue * events,
std::span< const ParamSnapshotEntry > initial_values = {} )
inline

Member Function Documentation

◆ advance_to()

void pulp::state::ParamCursor::advance_to ( int32_t sample_offset)
inline

◆ is_ramping()

bool pulp::state::ParamCursor::is_ramping ( ParamID id) const
inline

◆ is_tracked()

bool pulp::state::ParamCursor::is_tracked ( ParamID id) const
inline

◆ position()

int32_t pulp::state::ParamCursor::position ( ) const
inline

◆ ramp_end_offset()

int32_t pulp::state::ParamCursor::ramp_end_offset ( ParamID id) const
inline

◆ ramp_target()

float pulp::state::ParamCursor::ramp_target ( ParamID id) const
inline

◆ tracked_param_count()

std::size_t pulp::state::ParamCursor::tracked_param_count ( ) const
inline

◆ value()

float pulp::state::ParamCursor::value ( ParamID id) const
inline

◆ value_at()

float pulp::state::ParamCursor::value_at ( ParamID id,
int32_t sample_offset ) const
inline

The documentation for this class was generated from the following file: