TuttleOFX  1
OFX::BaseDoubleParamDescriptor Class Reference

Common base to all double param types. More...

#include <ofxsParam.h>

Inheritance diagram for OFX::BaseDoubleParamDescriptor:
Collaboration diagram for OFX::BaseDoubleParamDescriptor:

Public Member Functions

void setDoubleType (DoubleTypeEnum v)
 set the type of the double param, defaults to eDoubleTypePlain
void setIncrement (double v)
 set the sensitivity of any gui slider
void setDigits (int v)
 set the number of digits printed after a decimal point in any gui

Protected Member Functions

 mDeclareProtectedAssignAndCC (BaseDoubleParamDescriptor)
 BaseDoubleParamDescriptor (void)
 BaseDoubleParamDescriptor (const std::string &name, ParamTypeEnum type, OfxPropertySetHandle props)
 hidden constructor

Friends

class ParamSetDescriptor

Detailed Description

Common base to all double param types.

Definition at line 410 of file ofxsParam.h.


Constructor & Destructor Documentation

OFX::BaseDoubleParamDescriptor::BaseDoubleParamDescriptor ( void  ) [inline, protected]

Definition at line 414 of file ofxsParam.h.

OFX::BaseDoubleParamDescriptor::BaseDoubleParamDescriptor ( const std::string &  name,
ParamTypeEnum  type,
OfxPropertySetHandle  props 
) [protected]

hidden constructor

Definition at line 369 of file ofxsParams.cpp.


Member Function Documentation

OFX::BaseDoubleParamDescriptor::mDeclareProtectedAssignAndCC ( BaseDoubleParamDescriptor  ) [protected]
void OFX::BaseDoubleParamDescriptor::setDigits ( int  v)

set the number of digits printed after a decimal point in any gui

Definition at line 421 of file ofxsParams.cpp.

References OFX::ParamDescriptor::getProps(), kOfxParamPropDigits, and OFX::PropertySet::propSetInt().

Here is the call graph for this function:

void OFX::BaseDoubleParamDescriptor::setIncrement ( double  v)

set the sensitivity of any gui slider

Definition at line 415 of file ofxsParams.cpp.

References OFX::ParamDescriptor::getProps(), kOfxParamPropIncrement, and OFX::PropertySet::propSetDouble().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class ParamSetDescriptor [friend]

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