synfig-core  1.0.3
Classes | Public Types | Static Public Member Functions | Friends | List of all members
synfig::LinkableValueNode Class Reference

Specialized Class of Value Nodes that has links to other Value Nodes. More...

#include <valuenode.h>

Inheritance diagram for synfig::LinkableValueNode:
synfig::ValueNode synfig::Node synfig::ValueNode_Add synfig::ValueNode_And synfig::ValueNode_AngleString synfig::ValueNode_Atan2 synfig::ValueNode_BLineCalcTangent synfig::ValueNode_BLineCalcVertex synfig::ValueNode_BLineCalcWidth synfig::ValueNode_BLineRevTangent synfig::ValueNode_Bone synfig::ValueNode_BoneInfluence synfig::ValueNode_BoneLink synfig::ValueNode_BoneWeightPair synfig::ValueNode_Compare synfig::ValueNode_Composite synfig::ValueNode_Cos synfig::ValueNode_Derivative synfig::ValueNode_DotProduct synfig::ValueNode_Duplicate synfig::ValueNode_Dynamic synfig::ValueNode_DynamicList synfig::ValueNode_Exp synfig::ValueNode_GradientColor synfig::ValueNode_GradientRotate synfig::ValueNode_Integer synfig::ValueNode_IntString synfig::ValueNode_Join synfig::ValueNode_Linear synfig::ValueNode_Logarithm synfig::ValueNode_Not synfig::ValueNode_Or synfig::ValueNode_Pow synfig::ValueNode_RadialComposite synfig::ValueNode_Random synfig::ValueNode_Range synfig::ValueNode_Real synfig::ValueNode_RealString synfig::ValueNode_Reciprocal synfig::ValueNode_Reference synfig::ValueNode_Repeat_Gradient synfig::ValueNode_Reverse synfig::ValueNode_Scale synfig::ValueNode_SegCalcTangent synfig::ValueNode_SegCalcVertex synfig::ValueNode_Sine synfig::ValueNode_StaticList synfig::ValueNode_Step synfig::ValueNode_Stripes synfig::ValueNode_Subtract synfig::ValueNode_Switch synfig::ValueNode_TimedSwap synfig::ValueNode_TimeLoop synfig::ValueNode_TimeString synfig::ValueNode_TwoTone synfig::ValueNode_VectorAngle synfig::ValueNode_VectorLength synfig::ValueNode_VectorX synfig::ValueNode_VectorY

Classes

struct  BookEntry

Public Types

typedef etl::handle
< LinkableValueNode
Handle
typedef etl::loose_handle
< LinkableValueNode
LooseHandle
typedef etl::handle< const
LinkableValueNode
ConstHandle
typedef etl::rhandle
< LinkableValueNode
RHandle
typedef LinkableValueNode *(* Factory )(const ValueBase &, etl::loose_handle< Canvas > canvas)
 Type that represents a pointer to a ValueNode's constructor.
typedef bool(* CheckType )(Type &type)
 This represents a pointer to a Type check member fucntion.
typedef std::map< String,
BookEntry
Book
 Book of types of linkable value nodes indexed by type name.
typedef ParamVocab Vocab
 The vocabulary of the children.
- Public Types inherited from synfig::ValueNode
typedef etl::handle< ValueNodeHandle
typedef etl::loose_handle
< ValueNode
LooseHandle
typedef etl::handle< const
ValueNode
ConstHandle
typedef etl::rhandle< ValueNodeRHandle
- Public Types inherited from synfig::Node
typedef TimePointSet time_set

Static Public Member Functions

static Bookbook ()
static Handle create (const String &name, const ValueBase &x, etl::loose_handle< Canvas > canvas)
- Static Public Member Functions inherited from synfig::ValueNode
static bool subsys_init ()
 Instantiates the book of ValaueNodes and register all the valid valuenodes on it.
static bool subsys_stop ()
 Deletes the book of ValueNodes.
static void breakpoint ()

Friends

class ValueNode

is the name of

Each derived Linkable Value Node has to implement this fucntion and should return true only if the type matches. the linked value node and is the returned value type

Vocab children_vocab
 Member to store the children vocabulary.
static bool check_type (const String &name, Type &x)
 Member to store the children vocabulary.
 LinkableValueNode (Type &type=type_nil)
 Member to store the children vocabulary.
virtual int link_count () const
 Returns the number of linked Value Nodes.
virtual String link_local_name (int i) const
 Returns the local name of the 'i' linked Value Node.
virtual String link_name (int i) const
 Returns the name of the 'i' linked Value Node.
virtual int get_link_index_from_name (const String &name) const
 Returns the child index Value Node based on the name.
virtual ValueNode::Handle clone (etl::loose_handle< Canvas > canvas, const GUID &deriv_guid=GUID()) const
 Clones a Value Node.
bool set_link (int i, ValueNode::Handle x)
 Sets a new Value Node link by its index.
bool set_link (const String &name, ValueNode::Handle x)
 Sets a new Value Node link by its name.
ValueNode::LooseHandle get_link (int i) const
 Returns a Loose Handle to the Value Node based on the link's index.
ValueNode::LooseHandle get_link (const String &name) const
 Returns a Loose Handle to the Value Node based on the link's name.
String get_description (int index=-1, bool show_exported_name=true) const
 Return a full description of the linked ValueNode given by the index.
String get_description (bool show_exported_name=true) const
virtual Vocab get_children_vocab () const
 Gets the children vocabulary for linkable value nodes.
virtual void set_root_canvas (etl::loose_handle< Canvas > x)
 Member to store the children vocabulary.
virtual bool set_link_vfunc (int i, ValueNode::Handle x)=0
void unlink_all ()
void set_type (Type &t)
 Sets the type of the ValueNode.
virtual ValueNode::LooseHandle get_link_vfunc (int i) const =0
 Virtual member to get the linked Value Node Handle.
virtual LinkableValueNodecreate_new () const =0
 Wrapper for new operator, used by clone()
virtual void get_times_vfunc (Node::time_set &set) const
 Returns the cached times values for all the children (linked Value Nodes)
virtual Vocab get_children_vocab_vfunc () const =0
 Pure Virtual member to get the children vocabulary.
virtual void set_children_vocab (const Vocab &rvocab)
 Virtual memebr to set the children vocabulary to a given value.

Additional Inherited Members

- Public Member Functions inherited from synfig::ValueNode
sigc::signal< void > & signal_value_changed ()
 ValueBase Changed.
sigc::signal< void, int * > & signal_children_reordered ()
 Children Reordered.
sigc::signal< void, int > & signal_child_changed ()
 Child Changed.
sigc::signal< void, int > & signal_child_removed ()
 Child Removed.
sigc::signal< void, int > & signal_child_inserted ()
 Child Inserted.
sigc::signal< void > & signal_id_changed ()
 ID Changed.
virtual ~ValueNode ()
virtual ValueBase operator() (Time) const
 Returns the value of the ValueNode at time t.
void set_id (const String &x)
const Stringget_id () const
 Returns the id of the ValueNode.
virtual String get_name () const =0
 Returns the name of the ValueNode type.
virtual String get_local_name () const =0
 Returns the localized name of the ValueNode type.
String get_string () const
bool is_exported () const
 Returns if the Value Node has an ID (has been exported)
bool is_descendant (ValueNode::Handle value_node_dest)
 Check recursively if is a descendant of the Value Node.
Typeget_type () const
 Returns the type of the ValueNode.
etl::loose_handle< Canvasget_parent_canvas () const
 Returns a handle to the parent canvas, if it has one.
etl::loose_handle< Canvasget_root_canvas () const
 Returns a handle to the parent canvas, if it has one.
etl::loose_handle< Canvasget_non_inline_ancestor_canvas () const
 Returns a handle to the parent canvas, if it has one.
void set_parent_canvas (etl::loose_handle< Canvas > x)
 Sets the parent canvas for the Value Node.
String get_relative_id (etl::loose_handle< const Canvas > x) const
 Returns the relative ID of a Node when accessed form the Canvas.
int replace (etl::handle< ValueNode > x)
virtual Interpolation get_interpolation () const
 Get the default interpolation for Value Nodes.
virtual void set_interpolation (Interpolation)
 Set the default interpolation for Value Nodes.
- Public Attributes inherited from synfig::Node
std::set< Node * > parent_set
- Protected Member Functions inherited from synfig::ValueNode
 ValueNode (Type &type=type_nil)
virtual void on_changed ()

Detailed Description

Specialized Class of Value Nodes that has links to other Value Nodes.

This Value Node is calculated based on a math calculation or a time evaluation of the linked Value Nodes. It is commonly known as Converted Value Nodes. The derived clases defines the behavior.

Member Typedef Documentation

typedef LinkableValueNode*(* synfig::LinkableValueNode::Factory)(const ValueBase &, etl::loose_handle< Canvas > canvas)

Type that represents a pointer to a ValueNode's constructor.

As a pointer to the constructor, it represents a "factory" of objects of this class.

typedef bool(* synfig::LinkableValueNode::CheckType)(Type &type)

This represents a pointer to a Type check member fucntion.

As a pointer to the member, it represents a fucntion that checks the type of the provided ValueBase

Book of types of linkable value nodes indexed by type name.

While the sifz file is read, each time a new LinkableValueNode entry is found, the factory constructor that the "factory" pointer member of the "BookEntry" struct points to, is called, and a new object of that type is created.

See Also
LinkableValueNode::Factory

The vocabulary of the children.

See Also
synfig::Paramdesc

Constructor & Destructor Documentation

synfig::LinkableValueNode::LinkableValueNode ( Type type = type_nil)
inline

Member to store the children vocabulary.

Member Function Documentation

LinkableValueNode::Book & LinkableValueNode::book ( )
static
LinkableValueNode::Handle LinkableValueNode::create ( const String name,
const ValueBase x,
etl::loose_handle< Canvas canvas 
)
static

Creates a Linkable Value Node based on the name and the returned value type. Returns a valid Handle if both (name and type) match

References _, book(), check_type(), synfig::Type::description, synfig::error(), synfig::ValueBase::get_type(), and synfig::Type::Description::local_name.

Referenced by synfig::optimize_layers().

bool LinkableValueNode::check_type ( const String name,
Type x 
)
static

Member to store the children vocabulary.

References book(), synfig::type_bone_object, and synfig::type_real.

Referenced by create().

virtual bool synfig::LinkableValueNode::set_link_vfunc ( int  i,
ValueNode::Handle  x 
)
protectedpure virtual

Stores the Value Node in the sub parameter i after check if the type is the same. It has to be defined by the derived class.

Implemented in synfig::ValueNode_DynamicList, synfig::ValueNode_StaticList, synfig::ValueNode_Dynamic, synfig::ValueNode_Bone, synfig::ValueNode_Derivative, synfig::ValueNode_Scale, synfig::ValueNode_Random, synfig::ValueNode_BoneInfluence, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_Duplicate, synfig::ValueNode_Switch, synfig::ValueNode_BLineCalcWidth, synfig::ValueNode_Compare, synfig::ValueNode_GradientRotate, synfig::ValueNode_BoneLink, synfig::ValueNode_Integer, synfig::ValueNode_Join, synfig::ValueNode_Range, synfig::ValueNode_Real, synfig::ValueNode_RealString, synfig::ValueNode_GradientColor, synfig::ValueNode_IntString, synfig::ValueNode_Pow, synfig::ValueNode_Reference, synfig::ValueNode_Step, synfig::ValueNode_TimeLoop, synfig::ValueNode_Atan2, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_BoneWeightPair, synfig::ValueNode_Cos, synfig::ValueNode_DotProduct, synfig::ValueNode_Linear, synfig::ValueNode_Reverse, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_Sine, synfig::ValueNode_BLineRevTangent, synfig::ValueNode_Exp, synfig::ValueNode_Logarithm, synfig::ValueNode_Reciprocal, synfig::ValueNode_Repeat_Gradient, synfig::ValueNode_TimeString, synfig::ValueNode_TwoTone, synfig::ValueNode_VectorAngle, synfig::ValueNode_VectorLength, synfig::ValueNode_VectorX, synfig::ValueNode_VectorY, synfig::ValueNode_AngleString, synfig::ValueNode_Or, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Composite, synfig::ValueNode_Not, synfig::ValueNode_Stripes, synfig::ValueNode_TimedSwap, synfig::ValueNode_Add, synfig::ValueNode_And, synfig::ValueNode_RadialComposite, and synfig::ValueNode_Subtract.

Referenced by set_link().

void LinkableValueNode::unlink_all ( )
protected

Frees all the subparameters of the Linkable Value Node. Used by the derived classed destructors.

References get_link(), and link_count().

Referenced by synfig::ValueNode_And::~ValueNode_And(), synfig::ValueNode_AngleString::~ValueNode_AngleString(), synfig::ValueNode_Atan2::~ValueNode_Atan2(), synfig::ValueNode_BLineCalcTangent::~ValueNode_BLineCalcTangent(), synfig::ValueNode_BLineCalcVertex::~ValueNode_BLineCalcVertex(), synfig::ValueNode_BLineCalcWidth::~ValueNode_BLineCalcWidth(), synfig::ValueNode_BLineRevTangent::~ValueNode_BLineRevTangent(), synfig::ValueNode_Bone::~ValueNode_Bone(), synfig::ValueNode_BoneInfluence::~ValueNode_BoneInfluence(), synfig::ValueNode_BoneLink::~ValueNode_BoneLink(), synfig::ValueNode_BoneWeightPair::~ValueNode_BoneWeightPair(), synfig::ValueNode_Compare::~ValueNode_Compare(), synfig::ValueNode_Composite::~ValueNode_Composite(), synfig::ValueNode_Cos::~ValueNode_Cos(), synfig::ValueNode_Derivative::~ValueNode_Derivative(), synfig::ValueNode_DotProduct::~ValueNode_DotProduct(), synfig::ValueNode_Duplicate::~ValueNode_Duplicate(), synfig::ValueNode_Dynamic::~ValueNode_Dynamic(), synfig::ValueNode_DynamicList::~ValueNode_DynamicList(), synfig::ValueNode_Exp::~ValueNode_Exp(), synfig::ValueNode_GradientColor::~ValueNode_GradientColor(), synfig::ValueNode_Integer::~ValueNode_Integer(), synfig::ValueNode_IntString::~ValueNode_IntString(), synfig::ValueNode_Join::~ValueNode_Join(), synfig::ValueNode_Linear::~ValueNode_Linear(), synfig::ValueNode_Logarithm::~ValueNode_Logarithm(), synfig::ValueNode_Not::~ValueNode_Not(), synfig::ValueNode_Or::~ValueNode_Or(), synfig::ValueNode_Pow::~ValueNode_Pow(), synfig::ValueNode_RadialComposite::~ValueNode_RadialComposite(), synfig::ValueNode_Random::~ValueNode_Random(), synfig::ValueNode_Real::~ValueNode_Real(), synfig::ValueNode_RealString::~ValueNode_RealString(), synfig::ValueNode_Reciprocal::~ValueNode_Reciprocal(), synfig::ValueNode_Reference::~ValueNode_Reference(), synfig::ValueNode_Reverse::~ValueNode_Reverse(), synfig::ValueNode_SegCalcTangent::~ValueNode_SegCalcTangent(), synfig::ValueNode_SegCalcVertex::~ValueNode_SegCalcVertex(), synfig::ValueNode_Sine::~ValueNode_Sine(), synfig::ValueNode_StaticList::~ValueNode_StaticList(), synfig::ValueNode_Step::~ValueNode_Step(), synfig::ValueNode_Switch::~ValueNode_Switch(), synfig::ValueNode_TimeLoop::~ValueNode_TimeLoop(), synfig::ValueNode_TimeString::~ValueNode_TimeString(), synfig::ValueNode_VectorAngle::~ValueNode_VectorAngle(), synfig::ValueNode_VectorLength::~ValueNode_VectorLength(), synfig::ValueNode_VectorX::~ValueNode_VectorX(), and synfig::ValueNode_VectorY::~ValueNode_VectorY().

int LinkableValueNode::link_count ( ) const
virtual

Returns the number of linked Value Nodes.

Reimplemented in synfig::ValueNode_DynamicList, synfig::ValueNode_Bone_Root, and synfig::ValueNode_StaticList.

References get_children_vocab().

Referenced by clone(), synfig::ValueNode_RadialComposite::get_link_index_from_name(), synfig::ValueNode_Composite::get_link_index_from_name(), synfig::ValueNode_RadialComposite::get_link_vfunc(), synfig::ValueNode_Composite::get_link_vfunc(), synfig::ValueNode_And::get_link_vfunc(), synfig::ValueNode_Reference::get_link_vfunc(), synfig::ValueNode_TwoTone::get_link_vfunc(), synfig::ValueNode_Not::get_link_vfunc(), synfig::ValueNode_Switch::get_link_vfunc(), synfig::ValueNode_Or::get_link_vfunc(), synfig::ValueNode_AngleString::get_link_vfunc(), synfig::ValueNode_SegCalcVertex::get_link_vfunc(), synfig::ValueNode_GradientRotate::get_link_vfunc(), synfig::ValueNode_BoneInfluence::get_link_vfunc(), synfig::ValueNode_Reciprocal::get_link_vfunc(), synfig::ValueNode_Scale::get_link_vfunc(), synfig::ValueNode_Exp::get_link_vfunc(), synfig::ValueNode_Add::get_link_vfunc(), synfig::ValueNode_Subtract::get_link_vfunc(), synfig::ValueNode_TimeString::get_link_vfunc(), synfig::ValueNode_VectorAngle::get_link_vfunc(), synfig::ValueNode_VectorLength::get_link_vfunc(), synfig::ValueNode_VectorX::get_link_vfunc(), synfig::ValueNode_VectorY::get_link_vfunc(), synfig::ValueNode_Logarithm::get_link_vfunc(), synfig::ValueNode_BLineCalcVertex::get_link_vfunc(), synfig::ValueNode_Cos::get_link_vfunc(), synfig::ValueNode_DotProduct::get_link_vfunc(), synfig::ValueNode_BLineRevTangent::get_link_vfunc(), synfig::ValueNode_Reverse::get_link_vfunc(), synfig::ValueNode_Sine::get_link_vfunc(), synfig::ValueNode_Atan2::get_link_vfunc(), synfig::ValueNode_Linear::get_link_vfunc(), synfig::ValueNode_BoneWeightPair::get_link_vfunc(), synfig::ValueNode_Pow::get_link_vfunc(), synfig::ValueNode_SegCalcTangent::get_link_vfunc(), synfig::ValueNode_GradientColor::get_link_vfunc(), synfig::ValueNode_Step::get_link_vfunc(), synfig::ValueNode_TimedSwap::get_link_vfunc(), synfig::ValueNode_TimeLoop::get_link_vfunc(), synfig::ValueNode_IntString::get_link_vfunc(), synfig::ValueNode_Real::get_link_vfunc(), synfig::ValueNode_RealString::get_link_vfunc(), synfig::ValueNode_Stripes::get_link_vfunc(), synfig::ValueNode_Integer::get_link_vfunc(), synfig::ValueNode_BoneLink::get_link_vfunc(), synfig::ValueNode_Join::get_link_vfunc(), synfig::ValueNode_BLineCalcWidth::get_link_vfunc(), synfig::ValueNode_Range::get_link_vfunc(), synfig::ValueNode_Compare::get_link_vfunc(), synfig::ValueNode_Duplicate::get_link_vfunc(), synfig::ValueNode_Repeat_Gradient::get_link_vfunc(), synfig::ValueNode_BLineCalcTangent::get_link_vfunc(), synfig::ValueNode_Random::get_link_vfunc(), synfig::ValueNode_Derivative::get_link_vfunc(), synfig::ValueNode_Bone::get_link_vfunc(), synfig::ValueNode_Dynamic::get_link_vfunc(), get_times_vfunc(), synfig::ValueNode_RadialComposite::link_name(), synfig::ValueNode_Composite::link_name(), set_link(), synfig::ValueNode_RadialComposite::set_link_vfunc(), synfig::ValueNode_And::set_link_vfunc(), synfig::ValueNode_Subtract::set_link_vfunc(), synfig::ValueNode_Add::set_link_vfunc(), synfig::ValueNode_TimedSwap::set_link_vfunc(), synfig::ValueNode_Stripes::set_link_vfunc(), synfig::ValueNode_Composite::set_link_vfunc(), synfig::ValueNode_Not::set_link_vfunc(), synfig::ValueNode_Or::set_link_vfunc(), synfig::ValueNode_SegCalcVertex::set_link_vfunc(), synfig::ValueNode_AngleString::set_link_vfunc(), synfig::ValueNode_VectorX::set_link_vfunc(), synfig::ValueNode_VectorLength::set_link_vfunc(), synfig::ValueNode_Reciprocal::set_link_vfunc(), synfig::ValueNode_TimeString::set_link_vfunc(), synfig::ValueNode_VectorY::set_link_vfunc(), synfig::ValueNode_Exp::set_link_vfunc(), synfig::ValueNode_Repeat_Gradient::set_link_vfunc(), synfig::ValueNode_TwoTone::set_link_vfunc(), synfig::ValueNode_VectorAngle::set_link_vfunc(), synfig::ValueNode_BLineRevTangent::set_link_vfunc(), synfig::ValueNode_Logarithm::set_link_vfunc(), synfig::ValueNode_Cos::set_link_vfunc(), synfig::ValueNode_BLineCalcVertex::set_link_vfunc(), synfig::ValueNode_BoneWeightPair::set_link_vfunc(), synfig::ValueNode_SegCalcTangent::set_link_vfunc(), synfig::ValueNode_Reverse::set_link_vfunc(), synfig::ValueNode_Atan2::set_link_vfunc(), synfig::ValueNode_DotProduct::set_link_vfunc(), synfig::ValueNode_Sine::set_link_vfunc(), synfig::ValueNode_Linear::set_link_vfunc(), synfig::ValueNode_Pow::set_link_vfunc(), synfig::ValueNode_Step::set_link_vfunc(), synfig::ValueNode_IntString::set_link_vfunc(), synfig::ValueNode_TimeLoop::set_link_vfunc(), synfig::ValueNode_GradientColor::set_link_vfunc(), synfig::ValueNode_Reference::set_link_vfunc(), synfig::ValueNode_BoneLink::set_link_vfunc(), synfig::ValueNode_RealString::set_link_vfunc(), synfig::ValueNode_Real::set_link_vfunc(), synfig::ValueNode_Join::set_link_vfunc(), synfig::ValueNode_Range::set_link_vfunc(), synfig::ValueNode_Integer::set_link_vfunc(), synfig::ValueNode_Compare::set_link_vfunc(), synfig::ValueNode_GradientRotate::set_link_vfunc(), synfig::ValueNode_BLineCalcWidth::set_link_vfunc(), synfig::ValueNode_BLineCalcTangent::set_link_vfunc(), synfig::ValueNode_Duplicate::set_link_vfunc(), synfig::ValueNode_Switch::set_link_vfunc(), synfig::ValueNode_BoneInfluence::set_link_vfunc(), synfig::ValueNode_Random::set_link_vfunc(), synfig::ValueNode_Scale::set_link_vfunc(), synfig::ValueNode_Derivative::set_link_vfunc(), synfig::ValueNode_Bone::set_link_vfunc(), synfig::ValueNode_Dynamic::set_link_vfunc(), set_root_canvas(), and unlink_all().

String LinkableValueNode::link_local_name ( int  i) const
virtual
String LinkableValueNode::link_name ( int  i) const
virtual
int LinkableValueNode::get_link_index_from_name ( const String name) const
virtual
ValueNode::Handle LinkableValueNode::clone ( etl::loose_handle< Canvas canvas,
const GUID deriv_guid = GUID() 
) const
virtual
bool LinkableValueNode::set_link ( int  i,
ValueNode::Handle  x 
)
bool synfig::LinkableValueNode::set_link ( const String name,
ValueNode::Handle  x 
)
inline

Sets a new Value Node link by its name.

References get_link_index_from_name(), and set_link().

Referenced by set_link().

ValueNode::LooseHandle LinkableValueNode::get_link ( int  i) const
ValueNode::LooseHandle synfig::LinkableValueNode::get_link ( const String name) const
inline

Returns a Loose Handle to the Value Node based on the link's name.

References get_link(), and get_link_index_from_name().

Referenced by get_link().

String LinkableValueNode::get_description ( int  index = -1,
bool  show_exported_name = true 
) const
String LinkableValueNode::get_description ( bool  show_exported_name = true) const
virtual

Return a full description of the linked ValueNode given by the index Proper overload of the inherited function

Reimplemented from synfig::ValueNode.

References get_description().

LinkableValueNode::Vocab LinkableValueNode::get_children_vocab ( ) const
virtual
void LinkableValueNode::set_root_canvas ( etl::loose_handle< Canvas x)
virtual

Member to store the children vocabulary.

Reimplemented from synfig::ValueNode.

Reimplemented in synfig::ValueNode_Bone_Root, synfig::ValueNode_BoneLink, and synfig::ValueNode_Bone.

References get_link(), and link_count().

void synfig::LinkableValueNode::set_type ( Type t)
inlineprotected

Sets the type of the ValueNode.

Reimplemented from synfig::ValueNode.

virtual ValueNode::LooseHandle synfig::LinkableValueNode::get_link_vfunc ( int  i) const
protectedpure virtual

Virtual member to get the linked Value Node Handle.

Implemented in synfig::ValueNode_DynamicList, synfig::ValueNode_Dynamic, synfig::ValueNode_Bone, synfig::ValueNode_Derivative, synfig::ValueNode_StaticList, synfig::ValueNode_Random, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_Repeat_Gradient, synfig::ValueNode_Duplicate, synfig::ValueNode_BLineCalcWidth, synfig::ValueNode_Compare, synfig::ValueNode_Range, synfig::ValueNode_BoneLink, synfig::ValueNode_Integer, synfig::ValueNode_Join, synfig::ValueNode_Real, synfig::ValueNode_RealString, synfig::ValueNode_Stripes, synfig::ValueNode_GradientColor, synfig::ValueNode_IntString, synfig::ValueNode_Pow, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_Step, synfig::ValueNode_TimedSwap, synfig::ValueNode_TimeLoop, synfig::ValueNode_Atan2, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_BLineRevTangent, synfig::ValueNode_BoneWeightPair, synfig::ValueNode_Cos, synfig::ValueNode_DotProduct, synfig::ValueNode_Linear, synfig::ValueNode_Reverse, synfig::ValueNode_Sine, synfig::ValueNode_Add, synfig::ValueNode_Exp, synfig::ValueNode_Logarithm, synfig::ValueNode_Reciprocal, synfig::ValueNode_Scale, synfig::ValueNode_Subtract, synfig::ValueNode_TimeString, synfig::ValueNode_VectorAngle, synfig::ValueNode_VectorLength, synfig::ValueNode_VectorX, synfig::ValueNode_VectorY, synfig::ValueNode_AngleString, synfig::ValueNode_BoneInfluence, synfig::ValueNode_GradientRotate, synfig::ValueNode_Or, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Not, synfig::ValueNode_Switch, synfig::ValueNode_And, synfig::ValueNode_Reference, synfig::ValueNode_TwoTone, synfig::ValueNode_Composite, and synfig::ValueNode_RadialComposite.

Referenced by clone(), and get_link().

virtual LinkableValueNode* synfig::LinkableValueNode::create_new ( ) const
protectedpure virtual

Wrapper for new operator, used by clone()

Implemented in synfig::ValueNode_DynamicList, synfig::ValueNode_Bone_Root, synfig::ValueNode_StaticList, synfig::ValueNode_WPList, synfig::ValueNode_Dynamic, synfig::ValueNode_BLine, synfig::ValueNode_Bone, synfig::ValueNode_DIList, synfig::ValueNode_Derivative, synfig::ValueNode_Scale, synfig::ValueNode_Repeat_Gradient, synfig::ValueNode_Random, synfig::ValueNode_BoneInfluence, synfig::ValueNode_Stripes, synfig::ValueNode_TimedSwap, synfig::ValueNode_Switch, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_GradientRotate, synfig::ValueNode_Duplicate, synfig::ValueNode_Range, synfig::ValueNode_Reference, synfig::ValueNode_BLineCalcWidth, synfig::ValueNode_Compare, synfig::ValueNode_BoneLink, synfig::ValueNode_Integer, synfig::ValueNode_Join, synfig::ValueNode_Real, synfig::ValueNode_RealString, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_BLineRevTangent, synfig::ValueNode_GradientColor, synfig::ValueNode_IntString, synfig::ValueNode_Pow, synfig::ValueNode_Step, synfig::ValueNode_TimeLoop, synfig::ValueNode_Atan2, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_BoneWeightPair, synfig::ValueNode_Composite, synfig::ValueNode_Cos, synfig::ValueNode_DotProduct, synfig::ValueNode_Linear, synfig::ValueNode_Reverse, synfig::ValueNode_Sine, synfig::ValueNode_Exp, synfig::ValueNode_Logarithm, synfig::ValueNode_Reciprocal, synfig::ValueNode_TimeString, synfig::ValueNode_TwoTone, synfig::ValueNode_VectorAngle, synfig::ValueNode_VectorLength, synfig::ValueNode_VectorX, synfig::ValueNode_VectorY, synfig::ValueNode_AngleString, synfig::ValueNode_Or, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Not, synfig::ValueNode_RadialComposite, synfig::ValueNode_And, synfig::ValueNode_Average, synfig::ValueNode_WeightedAverage, synfig::ValueNode_Add, synfig::ValueNode_Subtract, and synfig::ValueNode_Greyed.

Referenced by clone().

void LinkableValueNode::get_times_vfunc ( Node::time_set set) const
protectedvirtual

Returns the cached times values for all the children (linked Value Nodes)

Implements synfig::Node.

Reimplemented in synfig::ValueNode_DynamicList.

References get_link(), synfig::TimePointSet::insert(), and link_count().

virtual Vocab synfig::LinkableValueNode::get_children_vocab_vfunc ( ) const
protectedpure virtual

Pure Virtual member to get the children vocabulary.

Implemented in synfig::ValueNode_DynamicList, synfig::ValueNode_StaticList, synfig::ValueNode_Dynamic, synfig::ValueNode_BLine, synfig::ValueNode_Bone, synfig::ValueNode_Derivative, synfig::ValueNode_Scale, synfig::ValueNode_Random, synfig::ValueNode_Repeat_Gradient, synfig::ValueNode_Stripes, synfig::ValueNode_TimedSwap, synfig::ValueNode_GradientRotate, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_BoneInfluence, synfig::ValueNode_Duplicate, synfig::ValueNode_Switch, synfig::ValueNode_Compare, synfig::ValueNode_BLineCalcWidth, synfig::ValueNode_BoneLink, synfig::ValueNode_Integer, synfig::ValueNode_Join, synfig::ValueNode_Range, synfig::ValueNode_Real, synfig::ValueNode_RealString, synfig::ValueNode_GradientColor, synfig::ValueNode_IntString, synfig::ValueNode_Pow, synfig::ValueNode_Reference, synfig::ValueNode_Step, synfig::ValueNode_Subtract, synfig::ValueNode_TimeLoop, synfig::ValueNode_Atan2, synfig::ValueNode_BoneWeightPair, synfig::ValueNode_Cos, synfig::ValueNode_DotProduct, synfig::ValueNode_Linear, synfig::ValueNode_Reverse, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_Sine, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_BLineRevTangent, synfig::ValueNode_Exp, synfig::ValueNode_Logarithm, synfig::ValueNode_Reciprocal, synfig::ValueNode_TimeString, synfig::ValueNode_TwoTone, synfig::ValueNode_VectorAngle, synfig::ValueNode_VectorLength, synfig::ValueNode_VectorX, synfig::ValueNode_VectorY, synfig::ValueNode_Composite, synfig::ValueNode_Or, synfig::ValueNode_AngleString, synfig::ValueNode_Not, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_RadialComposite, synfig::ValueNode_And, synfig::ValueNode_Add, and synfig::ValueNode_Greyed.

Referenced by get_children_vocab().

void LinkableValueNode::set_children_vocab ( const Vocab rvocab)
protectedvirtual

Friends And Related Function Documentation

friend class ValueNode
friend

Member Data Documentation

Vocab synfig::LinkableValueNode::children_vocab
protected

Member to store the children vocabulary.

Referenced by synfig::ValueNode_Greyed::get_children_vocab_vfunc(), synfig::ValueNode_And::get_children_vocab_vfunc(), synfig::ValueNode_RadialComposite::get_children_vocab_vfunc(), synfig::ValueNode_SegCalcVertex::get_children_vocab_vfunc(), synfig::ValueNode_Not::get_children_vocab_vfunc(), synfig::ValueNode_Composite::get_children_vocab_vfunc(), synfig::ValueNode_Or::get_children_vocab_vfunc(), synfig::ValueNode_VectorLength::get_children_vocab_vfunc(), synfig::ValueNode_Reciprocal::get_children_vocab_vfunc(), synfig::ValueNode_VectorY::get_children_vocab_vfunc(), synfig::ValueNode_BLineCalcVertex::get_children_vocab_vfunc(), synfig::ValueNode_Logarithm::get_children_vocab_vfunc(), synfig::ValueNode_TimeString::get_children_vocab_vfunc(), synfig::ValueNode_TwoTone::get_children_vocab_vfunc(), synfig::ValueNode_BLineRevTangent::get_children_vocab_vfunc(), synfig::ValueNode_VectorAngle::get_children_vocab_vfunc(), synfig::ValueNode_VectorX::get_children_vocab_vfunc(), synfig::ValueNode_Exp::get_children_vocab_vfunc(), synfig::ValueNode_Cos::get_children_vocab_vfunc(), synfig::ValueNode_Reverse::get_children_vocab_vfunc(), synfig::ValueNode_SegCalcTangent::get_children_vocab_vfunc(), synfig::ValueNode_Sine::get_children_vocab_vfunc(), synfig::ValueNode_Linear::get_children_vocab_vfunc(), synfig::ValueNode_DotProduct::get_children_vocab_vfunc(), synfig::ValueNode_GradientColor::get_children_vocab_vfunc(), synfig::ValueNode_Reference::get_children_vocab_vfunc(), synfig::ValueNode_IntString::get_children_vocab_vfunc(), synfig::ValueNode_Step::get_children_vocab_vfunc(), synfig::ValueNode_Subtract::get_children_vocab_vfunc(), synfig::ValueNode_TimeLoop::get_children_vocab_vfunc(), synfig::ValueNode_Pow::get_children_vocab_vfunc(), synfig::ValueNode_RealString::get_children_vocab_vfunc(), synfig::ValueNode_BLineCalcWidth::get_children_vocab_vfunc(), synfig::ValueNode_Join::get_children_vocab_vfunc(), synfig::ValueNode_Integer::get_children_vocab_vfunc(), synfig::ValueNode_Real::get_children_vocab_vfunc(), synfig::ValueNode_Range::get_children_vocab_vfunc(), synfig::ValueNode_BoneLink::get_children_vocab_vfunc(), synfig::ValueNode_Compare::get_children_vocab_vfunc(), synfig::ValueNode_Switch::get_children_vocab_vfunc(), synfig::ValueNode_Duplicate::get_children_vocab_vfunc(), synfig::ValueNode_BLineCalcTangent::get_children_vocab_vfunc(), synfig::ValueNode_GradientRotate::get_children_vocab_vfunc(), synfig::ValueNode_TimedSwap::get_children_vocab_vfunc(), synfig::ValueNode_Stripes::get_children_vocab_vfunc(), synfig::ValueNode_Repeat_Gradient::get_children_vocab_vfunc(), synfig::ValueNode_Random::get_children_vocab_vfunc(), synfig::ValueNode_Scale::get_children_vocab_vfunc(), synfig::ValueNode_Derivative::get_children_vocab_vfunc(), synfig::ValueNode_Dynamic::get_children_vocab_vfunc(), and set_children_vocab().


The documentation for this class was generated from the following files: