00001 //*************************************************************************************** 00002 // 00003 // File supervisor: Crosswalk team 00004 // 00005 // Copyright 2008 Autodesk, Inc. All rights reserved. 00006 // Use of this software is subject to the terms of the Autodesk license agreement 00007 // provided at the time of installation or download, or which otherwise accompanies 00008 // this software in either electronic or hard copy form. 00009 // 00010 //*************************************************************************************** 00011 00012 #ifndef _STATICVALUE_H 00013 #define _STATICVALUE_H 00014 00015 #include "Template.h" 00016 00021 class XSIEXPORT CSLStaticValue 00022 : public CSLTemplate 00023 { 00024 public: 00030 CSLStaticValue(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate); 00031 virtual ~CSLStaticValue(); 00032 00036 CSLTemplate::ETemplateType Type(){ return XSI_STATIC_VALUES; } 00037 00041 SI_Bool GetActive(); 00042 00046 SI_Void SetActive( SI_Bool in_bActive ); 00047 00051 SI_Char* GetParameterName(); 00052 00056 SI_Void SetParameterName( SI_Char* in_szName ); 00057 00061 SI_Float GetValue(); 00062 00066 SI_Void SetValue( SI_Float in_fValue ); 00067 00068 private: 00069 CSLBoolProxy m_Active; 00070 CSLStringProxy m_ParameterName; 00071 CSLDoubleProxy m_Value; 00072 00073 SI_Void *m_pReserved; 00074 }; 00075 00076 #endif