00001 /* -*- C++ -*- */ 00002 00003 /* COPYRIGHT 00004 * 00005 * This file is part of the Visual Effects Engine - VEE 00006 * 00007 * Read the "VEE-LICENSE" file for the license. 00008 * 00009 * Authors & Copyright: 00010 * 00011 * Tommi Ilmonen, Tuukka Heikura, Marko Myllymaa and 00012 * Janne Kontkanen 2001-2004 00013 * 00014 * Additional copyrights: Tekes 2003-2004 00015 * 00016 * firstname.lastname@hut.fi 00017 * 00018 */ 00019 00020 #ifndef VEE_VALUE_OPERATOR_H 00021 #define VEE_VALUE_OPERATOR_H 00022 00023 #include <vee_matrix3.h> 00024 #include <vee_operator.h> 00025 #include <vee_vector3.h> 00026 00027 #include <string> 00028 00029 class VEE_Value; 00030 class VEE_Object; 00031 00033 class VEE_ValueOperator : public VEE_Operator 00034 { 00035 public: 00036 VEE_ValueOperator(); 00037 VEE_ValueOperator(const VEE_ValueOperator & ); 00038 00039 VEE_ValueOperator(const std::string &, float); 00040 VEE_ValueOperator(const std::string &, const VEE_Matrix3 &); 00041 VEE_ValueOperator(const std::string &, const VEE_Vector3 &); 00042 00043 virtual ~VEE_ValueOperator(); 00044 00045 virtual void operate(VEE_Object *); 00046 00047 void set(const std::string &, VEE_Value *); 00048 00049 VEE_ValueOperator & operator = (const VEE_ValueOperator &); 00050 00051 protected: 00052 VEE_Value * m_value; 00053 std::string m_id; 00054 }; 00055 00056 00057 #endif