#include <valuenode.h>
Public Types | |
typedef etl::handle < ValueNode > | Handle |
typedef etl::loose_handle < ValueNode > | LooseHandle |
typedef etl::handle < const ValueNode > | ConstHandle |
typedef etl::rhandle < ValueNode > | RHandle |
Public Member Functions | |
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 t) const |
Returns the value of the ValueNode at time t. | |
void | set_id (const String &x) |
For internal use only. Sets the id of the ValueNode | |
const String & | get_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. | |
virtual ValueNode * | clone (const GUID &deriv_guid=GUID()) const =0 |
bool | is_exported () const |
ValueBase::Type | get_type () const |
Returns the type of the ValueNode. | |
etl::loose_handle < Canvas > | get_parent_canvas () const |
Returns a handle to the parent canvas, if it has one. | |
etl::loose_handle < Canvas > | get_root_canvas () const |
Returns a handle to the parent canvas, if it has one. | |
void | set_parent_canvas (etl::loose_handle< Canvas > x) |
void | set_root_canvas (etl::loose_handle< Canvas > x) |
String | get_relative_id (etl::loose_handle< const Canvas > x) const |
int | replace (etl::handle< ValueNode > x) |
DCAST_HACK_BASECLASS () | |
DCAST_HACK_ID (0) | |
Static Public Member Functions | |
static bool | subsys_init () |
static bool | subsys_stop () |
Protected Member Functions | |
ValueNode (ValueBase::Type type=ValueBase::TYPE_NIL) | |
void | set_type (ValueBase::Type t) |
Sets the type of the ValueNode. | |
virtual void | on_changed () |
Friends | |
class | Layer |
class | LinkableValueNode |
typedef etl::handle<ValueNode> synfig::ValueNode::Handle |
Reimplemented in synfig::PlaceholderValueNode, synfig::LinkableValueNode, synfig::ValueNode_Animated, synfig::ValueNode_BLine, synfig::ValueNode_Composite, synfig::ValueNode_Const, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
typedef etl::loose_handle<ValueNode> synfig::ValueNode::LooseHandle |
Reimplemented in synfig::PlaceholderValueNode, and synfig::LinkableValueNode.
typedef etl::handle<const ValueNode> synfig::ValueNode::ConstHandle |
Reimplemented in synfig::PlaceholderValueNode, synfig::LinkableValueNode, synfig::ValueNode_Animated, synfig::ValueNode_BLine, synfig::ValueNode_Composite, synfig::ValueNode_Const, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
typedef etl::rhandle<ValueNode> synfig::ValueNode::RHandle |
Reimplemented in synfig::PlaceholderValueNode, and synfig::LinkableValueNode.
ValueNode::ValueNode | ( | ValueBase::Type | type = ValueBase::TYPE_NIL |
) | [protected] |
ValueNode::~ValueNode | ( | ) | [virtual] |
bool ValueNode::subsys_init | ( | ) | [static] |
bool ValueNode::subsys_stop | ( | ) | [static] |
sigc::signal<void>& synfig::ValueNode::signal_value_changed | ( | ) | [inline] |
ValueBase Changed.
sigc::signal<void,int*>& synfig::ValueNode::signal_children_reordered | ( | ) | [inline] |
Children Reordered.
sigc::signal<void,int>& synfig::ValueNode::signal_child_changed | ( | ) | [inline] |
Child Changed.
sigc::signal<void,int>& synfig::ValueNode::signal_child_removed | ( | ) | [inline] |
Child Removed.
sigc::signal<void,int>& synfig::ValueNode::signal_child_inserted | ( | ) | [inline] |
Child Inserted.
sigc::signal<void>& synfig::ValueNode::signal_id_changed | ( | ) | [inline] |
ID Changed.
Returns the value of the ValueNode at time t.
Reimplemented in synfig::PlaceholderValueNode, synfig::ValueNode_BLine, synfig::ValueNode_Composite, synfig::ValueNode_Const, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
const String& synfig::ValueNode::get_id | ( | ) | const [inline] |
virtual String synfig::ValueNode::get_name | ( | ) | const [pure virtual] |
Returns the name of the ValueNode type.
Implemented in synfig::PlaceholderValueNode, synfig::ValueNode_Animated, synfig::ValueNode_BLine, synfig::ValueNode_Composite, synfig::ValueNode_Const, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
virtual String synfig::ValueNode::get_local_name | ( | ) | const [pure virtual] |
Returns the localized name of the ValueNode type.
Implemented in synfig::PlaceholderValueNode, synfig::ValueNode_Animated, synfig::ValueNode_BLine, synfig::ValueNode_Composite, synfig::ValueNode_Const, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
virtual ValueNode* synfig::ValueNode::clone | ( | const GUID & | deriv_guid = GUID() |
) | const [pure virtual] |
Implemented in synfig::PlaceholderValueNode, synfig::LinkableValueNode, synfig::ValueNode_BLine, synfig::ValueNode_Const, and synfig::ValueNode_DynamicList.
bool synfig::ValueNode::is_exported | ( | ) | const [inline] |
ValueBase::Type synfig::ValueNode::get_type | ( | ) | const [inline] |
Returns the type of the ValueNode.
etl::loose_handle<Canvas> synfig::ValueNode::get_parent_canvas | ( | ) | const [inline] |
Returns a handle to the parent canvas, if it has one.
etl::loose_handle<Canvas> synfig::ValueNode::get_root_canvas | ( | ) | const [inline] |
Returns a handle to the parent canvas, if it has one.
void ValueNode::set_parent_canvas | ( | etl::loose_handle< Canvas > | x | ) |
void ValueNode::set_root_canvas | ( | etl::loose_handle< Canvas > | x | ) |
int ValueNode::replace | ( | etl::handle< ValueNode > | x | ) |
void synfig::ValueNode::set_type | ( | ValueBase::Type | t | ) | [inline, protected] |
Sets the type of the ValueNode.
Reimplemented in synfig::LinkableValueNode, and synfig::ValueNode_Animated.
void ValueNode::on_changed | ( | ) | [protected, virtual] |
Reimplemented from synfig::Node.
synfig::ValueNode::DCAST_HACK_BASECLASS | ( | ) |
synfig::ValueNode::DCAST_HACK_ID | ( | 0 | ) |
friend class Layer [friend] |
friend class LinkableValueNode [friend] |