iso::synth::LinkFadeStrategy Class Reference

#include <iso_synth_link_fade_strategy.h>

Collaboration diagram for iso::synth::LinkFadeStrategy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LinkFadeStrategy (Link *pLink, sample pDuration, LinkFadeMode pFadeMode)
 default constructor
virtual ~LinkFadeStrategy ()
 destructor
void process (Buffer *pBuffer)
 process buffer
bool finished () const
 check fading finished

Protected Member Functions

 LinkFadeStrategy ()

Protected Attributes

LinkmLink
sample mDuration
int mTotalSampleCount
 fade duration
int mRemainingSampleCount
sample mTargetFadeValue
sample mCurrentFadeValue
LinkFadeMode mFadeMode
bool mFinished
 fade mode

Constructor & Destructor Documentation

LinkFadeStrategy::LinkFadeStrategy ( Link pLink,
sample  pDuration,
LinkFadeMode  pFadeMode 
)

default constructor

Parameters:
pDuration fade duration (in milisecs)
pFadeMode fade mode

LinkFadeStrategy::~LinkFadeStrategy (  )  [virtual]

destructor

LinkFadeStrategy::LinkFadeStrategy (  )  [protected]


Member Function Documentation

void LinkFadeStrategy::process ( Buffer pBuffer  ) 

process buffer

Parameters:
pBuffer buffer to operate on

bool LinkFadeStrategy::finished (  )  const

check fading finished

Returns:
true if fading finished, false otherwise


Member Data Documentation

Link* iso::synth::LinkFadeStrategy::mLink [protected]

sample iso::synth::LinkFadeStrategy::mDuration [protected]

int iso::synth::LinkFadeStrategy::mTotalSampleCount [protected]

fade duration

int iso::synth::LinkFadeStrategy::mRemainingSampleCount [protected]

sample iso::synth::LinkFadeStrategy::mTargetFadeValue [protected]

sample iso::synth::LinkFadeStrategy::mCurrentFadeValue [protected]

LinkFadeMode iso::synth::LinkFadeStrategy::mFadeMode [protected]

bool iso::synth::LinkFadeStrategy::mFinished [protected]

fade mode


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:18:42 2011 for synth by  doxygen 1.5.1