Krotos Modules 3
Loading...
Searching...
No Matches
krotos::KAttachment::ParameterUpdater Class Reference

#include <KAttachment.h>

Public Member Functions

 ParameterUpdater (KAttachment &owner)
 
void next ()
 
void reset ()
 

Private Member Functions

void callUpdateFunction ()
 
void incrementCounters ()
 

Private Attributes

KAttachmentm_owner
 
int m_updateCounter
 
int m_sampleCounter
 

Detailed Description

Used by KAttachment & KwidgetProcessor to allow for 'automatic' integration of the new parameter values into the processor.

When the attached parameter changes, a flag is set to tell the processor that this object's ParameterUpdater is ready. The processor then uses it to apply the new values during the next block.

Constructor & Destructor Documentation

◆ ParameterUpdater()

krotos::KAttachment::ParameterUpdater::ParameterUpdater ( KAttachment & owner)
inline

Member Function Documentation

◆ callUpdateFunction()

void krotos::KAttachment::ParameterUpdater::callUpdateFunction ( )
inlineprivate

◆ incrementCounters()

void krotos::KAttachment::ParameterUpdater::incrementCounters ( )
inlineprivate

◆ next()

void krotos::KAttachment::ParameterUpdater::next ( )
inline

◆ reset()

void krotos::KAttachment::ParameterUpdater::reset ( )
inline

Member Data Documentation

◆ m_owner

KAttachment& krotos::KAttachment::ParameterUpdater::m_owner
private

◆ m_sampleCounter

int krotos::KAttachment::ParameterUpdater::m_sampleCounter
private

◆ m_updateCounter

int krotos::KAttachment::ParameterUpdater::m_updateCounter
private

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