Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

OFX::ValueParam Class Reference

#include <ofxsParam.h>

Inheritance diagram for OFX::ValueParam:

OFX::Param OFX::BaseDoubleParam OFX::BooleanParam OFX::ChoiceParam OFX::CustomParam OFX::Int2DParam OFX::Int3DParam OFX::IntParam OFX::RGBAParam OFX::RGBParam OFX::StringParam List of all members.

Detailed Description

Wraps up a value holding param.


Public Member Functions

 ~ValueParam ()
 dtor
void setEvaluateOnChange (bool v)
 Set's whether the value of the param is significant (ie: affects the rendered image).
bool getIsAnimating (void) const
 is the param animating
bool getIsAutoKeying (void) const
 is the param animating
bool getIsPersistant (void) const
 is the param animating
bool getEvaluateOnChange (void) const
 Get's whether the value of the param is significant (ie: affects the rendered image).
CacheInvalidationEnum getCacheInvalidation (void) const
 Get's whether the value of the param is significant (ie: affects the rendered image).
unsigned int getNumKeys (void)
 if the param is animating, the number of keys in it, otherwise 0
double getKeyTime (int nthKey) throw (OFX::Exception::Suite, std::out_of_range)
 get the time of the nth key, nth must be between 0 and getNumKeys-1
int getKeyIndex (double time, KeySearchEnum searchDir)
 find the index of a key by a time
void deleteKeyAtTime (double time)
 deletes a key at the given time
void deleteAllKeys (void)
 delete all the keys

Protected Member Functions

 mDeclareProtectedAssignAndCC (ValueParam)
 ValueParam (void)
 ValueParam (const ParamSet *paramSet, const std::string &name, ParamTypeEnum type, OfxParamHandle handle)
 Wraps up a value holding param hidden constructor.

Friends

class ParamSet


Constructor & Destructor Documentation

OFX::ValueParam::ValueParam void   )  [inline, protected]
 

OFX::ValueParam::ValueParam const ParamSet paramSet,
const std::string &  name,
ParamTypeEnum  type,
OfxParamHandle  handle
[protected]
 

Wraps up a value holding param hidden constructor.

OFX::ValueParam::~ValueParam  ) 
 

dtor


Member Function Documentation

void OFX::ValueParam::deleteAllKeys void   ) 
 

delete all the keys

void OFX::ValueParam::deleteKeyAtTime double  time  ) 
 

deletes a key at the given time

CacheInvalidationEnum OFX::ValueParam::getCacheInvalidation void   )  const
 

Get's whether the value of the param is significant (ie: affects the rendered image).

bool OFX::ValueParam::getEvaluateOnChange void   )  const
 

Get's whether the value of the param is significant (ie: affects the rendered image).

bool OFX::ValueParam::getIsAnimating void   )  const
 

is the param animating

bool OFX::ValueParam::getIsAutoKeying void   )  const
 

is the param animating

bool OFX::ValueParam::getIsPersistant void   )  const
 

is the param animating

int OFX::ValueParam::getKeyIndex double  time,
KeySearchEnum  searchDir
 

find the index of a key by a time

double OFX::ValueParam::getKeyTime int  nthKey  )  throw (OFX::Exception::Suite, std::out_of_range)
 

get the time of the nth key, nth must be between 0 and getNumKeys-1

unsigned int OFX::ValueParam::getNumKeys void   ) 
 

if the param is animating, the number of keys in it, otherwise 0

OFX::ValueParam::mDeclareProtectedAssignAndCC ValueParam   )  [protected]
 

void OFX::ValueParam::setEvaluateOnChange bool  v  ) 
 

Set's whether the value of the param is significant (ie: affects the rendered image).


Friends And Related Function Documentation

friend class ParamSet [friend]
 

Reimplemented from OFX::Param.

Reimplemented in OFX::IntParam, OFX::Int2DParam, OFX::Int3DParam, OFX::BaseDoubleParam, OFX::DoubleParam, OFX::Double2DParam, OFX::Double3DParam, OFX::RGBParam, OFX::RGBAParam, OFX::StringParam, OFX::ChoiceParam, OFX::BooleanParam, and OFX::CustomParam.


The documentation for this class was generated from the following files:
Generated on Thu Oct 9 13:03:50 2008 for OFX Support by  doxygen 1.3.9.1