synfig-core  1.0.3
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
synfig::PlaceholderValueNode Class Reference

#include <valuenode.h>

Inheritance diagram for synfig::PlaceholderValueNode:
synfig::ValueNode synfig::Node

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< 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

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 Stringget_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.
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.
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 GUIDget_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_setget_times () const
 Returns the cached times values for all the children.
RWLockget_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

Detailed Description

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.

Member Typedef Documentation

Member Function Documentation

ValueBase PlaceholderValueNode::operator() ( Time  ) const
virtual

Returns the value of the ValueNode at time t.

Reimplemented from synfig::ValueNode.

String PlaceholderValueNode::get_name ( ) const
virtual

Returns the name of the ValueNode type.

Implements synfig::ValueNode.

String PlaceholderValueNode::get_local_name ( ) const
virtual

Returns the localized name of the ValueNode type.

Implements synfig::ValueNode.

References _.

String PlaceholderValueNode::get_string ( void  ) const
virtual
ValueNode::Handle PlaceholderValueNode::clone ( etl::loose_handle< Canvas canvas,
const GUID deriv_guid = GUID() 
) const
virtual
PlaceholderValueNode::Handle PlaceholderValueNode::create ( Type type = type_nil)
static
virtual void synfig::PlaceholderValueNode::get_times_vfunc ( Node::time_set set) const
inlineprotectedvirtual

Function to be overloaded that fills the Time Point Set with all the children Time Points.

Implements synfig::Node.


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