TuttleOFX  1
ParamDouble.cpp
Go to the documentation of this file.
00001 #include "ParamDouble.hpp"
00002 
00003 #include <tuttle/host/INode.hpp>
00004 
00005 namespace tuttle {
00006 namespace host {
00007 namespace attribute {
00008 
00009 ParamDouble::ParamDouble( INode&                           effect,
00010                           const std::string&                         name,
00011                           const ofx::attribute::OfxhParamDescriptor& descriptor,
00012                           const std::size_t                          index )
00013   : AnimatedParamDouble( effect, name, descriptor, index )
00014 {
00015   _value = getDefault();
00016 }
00017 double ParamDouble::getDefault() const
00018 {
00019         return getProperties().getDoubleProperty( kOfxParamPropDefault, _index );
00020 }
00021 
00022 
00023 }
00024 }
00025 }
00026