synfig-core
1.0.3
|
#include <valuenode.h>
Public Types | |
typedef etl::handle < PlaceholderValueNode > | Handle |
typedef etl::loose_handle < PlaceholderValueNode > | LooseHandle |
typedef etl::handle< const PlaceholderValueNode > | ConstHandle |
typedef etl::rhandle < PlaceholderValueNode > | RHandle |
Public Types inherited from synfig::ValueNode | |
typedef etl::handle< ValueNode > | Handle |
typedef etl::loose_handle < ValueNode > | LooseHandle |
typedef etl::handle< const ValueNode > | ConstHandle |
typedef etl::rhandle< ValueNode > | RHandle |
Public Types inherited from synfig::Node | |
typedef TimePointSet | time_set |
Public Member Functions | |
virtual ValueBase | operator() (Time t) const |
Returns the value of the ValueNode at time t. | |
virtual String | get_name () const |
Returns the name of the ValueNode type. | |
virtual String | get_local_name () const |
Returns the localized name of the ValueNode type. | |
String | get_string () const |
virtual ValueNode::Handle | clone (etl::loose_handle< Canvas > canvas, const GUID &deriv_guid=GUID()) const |
Clones a Value Node. | |
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 () |
void | set_id (const String &x) |
const String & | get_id () const |
Returns the id of the ValueNode. | |
virtual String | get_description (bool show_exported_name=true) const |
Return a full description of the ValueNode and its parentage. | |
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. | |
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. | |
etl::loose_handle< Canvas > | get_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. | |
virtual void | set_root_canvas (etl::loose_handle< Canvas > x) |
Sets the root canvas parent 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 Member Functions inherited from synfig::Node | |
sigc::signal< void > & | signal_deleted () |
sigc::signal< void > & | signal_changed () |
sigc::signal< void, GUID > & | signal_guid_changed () |
GUID Changed. | |
virtual | ~Node () |
void | changed () |
const GUID & | get_guid () const |
Gets the GUID for this Node. | |
virtual void | set_guid (const GUID &x) |
Sets the GUID for this Node. | |
int | get_time_last_changed () const |
Gets the time when the Node was changed. | |
void | add_child (Node *x) |
Adds the parameter as the child of the current Node. | |
void | remove_child (Node *x) |
Removes the parameter as a child of the current Node. | |
int | parent_count () const |
Returns how many parenst has the current Node. | |
const time_set & | get_times () const |
Returns the cached times values for all the children. | |
RWLock & | get_rw_lock () const |
Writeme! |
Static Public Member Functions | |
static Handle | create (Type &type=type_nil) |
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 () |
Protected Member Functions | |
virtual void | get_times_vfunc (Node::time_set &) const |
Protected Member Functions inherited from synfig::ValueNode | |
ValueNode (Type &type=type_nil) | |
void | set_type (Type &t) |
Sets the type of the ValueNode. | |
virtual void | on_changed () |
Protected Member Functions inherited from synfig::Node | |
Node () | |
void | begin_delete () |
virtual void | on_guid_changed (GUID guid) |
Additional Inherited Members | |
Public Attributes inherited from synfig::Node | |
std::set< Node * > | parent_set |
Seems to be a Place to hold a Value Node temporarly.
Doesn't seem to implement any functionality. Seems to be used when the value node cannot be created using the Const, Animated or Linkable Value Nodes.
typedef etl::handle<PlaceholderValueNode> synfig::PlaceholderValueNode::Handle |
typedef etl::loose_handle<PlaceholderValueNode> synfig::PlaceholderValueNode::LooseHandle |
typedef etl::handle<const PlaceholderValueNode> synfig::PlaceholderValueNode::ConstHandle |
typedef etl::rhandle<PlaceholderValueNode> synfig::PlaceholderValueNode::RHandle |
Returns the value of the ValueNode at time t.
Reimplemented from synfig::ValueNode.
|
virtual |
Returns the name of the ValueNode type.
Implements synfig::ValueNode.
|
virtual |
|
virtual |
Reimplemented from synfig::ValueNode.
References synfig::Node::get_guid(), and synfig::GUID::get_string().
|
virtual |
Implements synfig::ValueNode.
References synfig::Node::get_guid(), synfig::Node::set_guid(), and synfig::ValueNode::set_parent_canvas().
|
static |
Referenced by synfig::ValueNodeList::surefind().
|
inlineprotectedvirtual |
Function to be overloaded that fills the Time Point Set with all the children Time Points.
Implements synfig::Node.