00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Side Effects Software Inc. 00008 * 477 Richmond Street West, Suite 1001 00009 * Toronto, Ontario 00010 * Canada M5V 3E7 00011 * 416-504-9876 00012 */ 00013 00014 #ifndef __SIM_SwitchValue_h__ 00015 #define __SIM_SwitchValue_h__ 00016 00017 #include "SIM_API.h" 00018 #include "SIM_OptionsUser.h" 00019 #include "SIM_DataUtils.h" 00020 00021 /// This data type stres a single float value which is used by the Blend 00022 /// Solver to control the interpolation between the sources. 00023 class SIM_API SIM_SwitchValue : public SIM_Data, 00024 public SIM_OptionsUser 00025 { 00026 public: 00027 /// Control the translation attribute of the blended data. 00028 GETSET_DATA_FUNCS_I(SIM_NAME_SWITCHVALUE, SwitchValue); 00029 00030 protected: 00031 explicit SIM_SwitchValue(const SIM_DataFactory *factory); 00032 virtual ~SIM_SwitchValue(); 00033 00034 private: 00035 static const SIM_DopDescription *getSwitchValueDopDescription(); 00036 00037 DECLARE_STANDARD_GETCASTTOTYPE(); 00038 DECLARE_DATAFACTORY(SIM_SwitchValue, 00039 SIM_Data, 00040 "Switch Value", 00041 getSwitchValueDopDescription()); 00042 }; 00043 00044 #endif 00045
1.5.9