valuenode_radialcomposite.h

Go to the documentation of this file.
00001 /* === S Y N F I G ========================================================= */
00021 /* ========================================================================= */
00022 
00023 /* === S T A R T =========================================================== */
00024 
00025 #ifndef __SYNFIG_VALUENODE_RADIALCOMPOSITE_H
00026 #define __SYNFIG_VALUENODE_RADIALCOMPOSITE_H
00027 
00028 /* === H E A D E R S ======================================================= */
00029 
00030 #include "valuenode.h"
00031 
00032 /* === M A C R O S ========================================================= */
00033 
00034 /* === C L A S S E S & S T R U C T S ======================================= */
00035 
00036 namespace synfig {
00037 
00038 class ValueNode_RadialComposite : public LinkableValueNode
00039 {
00040     ValueNode::RHandle components[6];
00041     ValueNode_RadialComposite(const ValueBase &value);
00042     
00043 public:
00044     typedef etl::handle<ValueNode_RadialComposite> Handle;
00045     typedef etl::handle<const ValueNode_RadialComposite> ConstHandle;
00046 
00047 
00048     virtual ~ValueNode_RadialComposite();
00049 
00050     virtual ValueNode::LooseHandle get_link_vfunc(int i)const;
00051     virtual int link_count()const;
00052     virtual String link_name(int i)const;
00053     virtual String link_local_name(int i)const;
00054     virtual ValueBase operator()(Time t)const;
00055 
00056 
00057     virtual String get_name()const;
00058     virtual String get_local_name()const;
00059     virtual int get_link_index_from_name(const String &name)const;
00060     
00061 protected:
00062     virtual bool set_link_vfunc(int i,ValueNode::Handle x);
00063     
00064     LinkableValueNode* create_new()const;
00065 
00066 public:
00067     using synfig::LinkableValueNode::set_link_vfunc;
00068     using synfig::LinkableValueNode::get_link_vfunc;
00069     static bool check_type(ValueBase::Type type);
00070     static ValueNode_RadialComposite* create(const ValueBase &x);
00071 }; // END of class ValueNode_RadialComposite
00072 
00073 }; // END of namespace synfig
00074 
00075 /* === E N D =============================================================== */
00076 
00077 #endif

Generated on Fri Jun 23 15:20:50 2006 for synfig by  doxygen 1.4.6