00001 //*************************************************************************************** 00002 // File supervisor: Crosswalk team 00012 //*************************************************************************************** 00013 00014 #ifndef _STATICVALUE_H 00015 #define _STATICVALUE_H 00016 00017 #include "Template.h" 00018 00025 class XSIEXPORT CSLStaticValue 00026 : public CSLTemplate 00027 { 00028 public: 00034 CSLStaticValue(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate); 00035 virtual ~CSLStaticValue(); 00036 00040 CSLTemplate::ETemplateType Type(){ return XSI_STATIC_VALUES; } 00041 00045 SI_Bool GetActive(); 00046 00050 SI_Void SetActive( SI_Bool in_bActive ); 00051 00055 SI_Char* GetParameterName(); 00056 00060 SI_Void SetParameterName( SI_Char* in_szName ); 00061 00065 SI_Float GetValue(); 00066 00070 SI_Void SetValue( SI_Float in_fValue ); 00071 00072 private: 00073 CSLBoolProxy m_Active; 00074 CSLStringProxy m_ParameterName; 00075 CSLDoubleProxy m_Value; 00076 00077 SI_Void *m_pReserved; 00078 }; 00079 00080 #endif