synfig::Node Class Reference

#include <node.h>

Inheritance diagram for synfig::Node:

synfig::Canvas synfig::Layer synfig::ValueNode synfig::Layer_Composite synfig::Layer_Mime synfig::LinkableValueNode synfig::PlaceholderValueNode synfig::ValueNode_Animated synfig::ValueNode_Const synfig::Layer_Bitmap synfig::Layer_MotionBlur synfig::Layer_PasteCanvas synfig::Layer_Shape synfig::Layer_SolidColor synfig::ValueNode_Composite 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 synfig::ValueNode_TwoTone List of all members.

Public Types

typedef TimePointSet time_set

Public Member Functions

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 value node.
void set_guid (const GUID &x)
 Sets the GUID for this value node.
int get_time_last_changed () const
void add_child (Node *x)
void remove_child (Node *x)
int parent_count () const
const time_setget_times () const
RWLockget_rw_lock () const

Public Attributes

std::set< Node * > parent_set

Protected Member Functions

 Node ()
void begin_delete ()
virtual void on_changed ()
virtual void on_guid_changed (GUID guid)
virtual void get_times_vfunc (time_set &set) const =0

Member Typedef Documentation

typedef TimePointSet synfig::Node::time_set
 

Todo:
This needs to be documented further.


Constructor & Destructor Documentation

Node::Node  )  [protected]
 

Node::~Node  )  [virtual]
 


Member Function Documentation

sigc::signal<void>& synfig::Node::signal_deleted  )  [inline]
 

sigc::signal<void>& synfig::Node::signal_changed  )  [inline]
 

sigc::signal<void,GUID>& synfig::Node::signal_guid_changed  )  [inline]
 

GUID Changed.

Note:
The second parameter is the *OLD* guid!

void Node::changed  ) 
 

const GUID & Node::get_guid  )  const
 

Gets the GUID for this value node.

void Node::set_guid const GUID x  ) 
 

Sets the GUID for this value node.

int Node::get_time_last_changed  )  const
 

void Node::add_child Node x  ) 
 

void Node::remove_child Node x  ) 
 

int Node::parent_count  )  const
 

const Node::time_set & Node::get_times  )  const
 

RWLock& synfig::Node::get_rw_lock  )  const [inline]
 

void Node::begin_delete  )  [protected]
 

void Node::on_changed  )  [protected, virtual]
 

Reimplemented in synfig::Canvas, synfig::Layer, and synfig::ValueNode.

void Node::on_guid_changed GUID  guid  )  [protected, virtual]
 

virtual void synfig::Node::get_times_vfunc time_set set  )  const [protected, pure virtual]
 

Function to be overloaded that fills

Implemented in synfig::Canvas, synfig::Layer, synfig::Layer_PasteCanvas, synfig::PlaceholderValueNode, synfig::LinkableValueNode, synfig::ValueNode_Animated, synfig::ValueNode_Const, and synfig::ValueNode_DynamicList.


Member Data Documentation

std::set<Node*> synfig::Node::parent_set
 

Todo:
This should really be private


The documentation for this class was generated from the following files:
Generated on Fri Jun 23 15:20:51 2006 for synfig by  doxygen 1.4.6