Steinberg::Vst::Parameter Class Reference

#include <vsteditcontroller.h>

Inheritance diagram for Steinberg::Vst::Parameter:

GainParameter List of all members.

Public Member Functions

 Parameter ()
 Parameter (const ParameterInfo &)
virtual ~Parameter ()
const ParameterInfogetInfo () const
ParamValue getNormalized () const
bool setNormalized (ParamValue v)
virtual void toString (ParamValue valueNormalized, String128 string) const
virtual bool fromString (const TChar *string, ParamValue &valueNormalized) const
virtual ParamValue toPlain (ParamValue valueNormalized) const
virtual ParamValue toNormalized (ParamValue plainValue) const

Protected Attributes

ParameterInfo info
ParamValue valueNormalized

Detailed Description

Definition at line 52 of file vsteditcontroller.h.


Constructor & Destructor Documentation

Steinberg::Vst::Parameter::Parameter (  ) 

Definition at line 46 of file vsteditcontroller.cpp.

Steinberg::Vst::Parameter::Parameter ( const ParameterInfo  ) 

Definition at line 53 of file vsteditcontroller.cpp.

Steinberg::Vst::Parameter::~Parameter (  )  [virtual]

Definition at line 59 of file vsteditcontroller.cpp.


Member Function Documentation

bool Steinberg::Vst::Parameter::fromString ( const TChar string,
ParamValue valueNormalized 
) const [virtual]

Converts a string to a normalized value

Reimplemented in GainParameter.

Definition at line 94 of file vsteditcontroller.cpp.

const ParameterInfo& Steinberg::Vst::Parameter::getInfo (  )  const [inline]

Retunrs its info.

Definition at line 61 of file vsteditcontroller.h.

ParamValue Steinberg::Vst::Parameter::getNormalized (  )  const [inline]

Gets its normalized value [0.0, 1.0]

Definition at line 64 of file vsteditcontroller.h.

bool Steinberg::Vst::Parameter::setNormalized ( ParamValue  v  ) 

Sets its normalized value [0.0, 1.0]

Definition at line 63 of file vsteditcontroller.cpp.

ParamValue Steinberg::Vst::Parameter::toNormalized ( ParamValue  plainValue  )  const [virtual]

Converts a plain value to a normalized value (ex. 10000 to 0.5)

Definition at line 107 of file vsteditcontroller.cpp.

ParamValue Steinberg::Vst::Parameter::toPlain ( ParamValue  valueNormalized  )  const [virtual]

Converts a normalized value to plain value (ex. 0.5 to 10000.0Hz)

Definition at line 101 of file vsteditcontroller.cpp.

void Steinberg::Vst::Parameter::toString ( ParamValue  valueNormalized,
String128  string 
) const [virtual]

Converts a normalized value to a string

Reimplemented in GainParameter.

Definition at line 79 of file vsteditcontroller.cpp.


Member Data Documentation

ParameterInfo Steinberg::Vst::Parameter::info [protected]

Definition at line 80 of file vsteditcontroller.h.

ParamValue Steinberg::Vst::Parameter::valueNormalized [protected]

Definition at line 81 of file vsteditcontroller.h.


The documentation for this class was generated from the following files: Empty

Copyright ©2008 Steinberg Media Technologies. All Rights Reserved.