44 #include "pandabase.h"
46 #include "pandaNode.h"
47 #include "pointerTo.h"
69 INLINE DataNode(
const DataNode ©);
77 INLINE
int get_num_inputs()
const;
78 INLINE
int get_num_outputs()
const;
81 void write_inputs(ostream &out)
const;
82 void write_outputs(ostream &out)
const;
83 void write_connections(ostream &out)
const;
86 int define_input(
const string &name,
TypeHandle data_type);
87 int define_output(
const string &name,
TypeHandle data_type);
91 virtual void parents_changed();
112 class DataConnection {
131 static void init_type() {
132 PandaNode::init_type();
133 register_type(_type_handle,
"DataNode",
134 PandaNode::get_class_type());
137 return get_class_type();
139 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
145 #include "dataNode.I"
A basic node of the scene graph or data graph.
The fundamental type of node for the data graph.
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
virtual PandaNode * make_copy() const
Returns a newly-allocated PandaNode that is a shallow copy of this one.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
A class to retrieve the individual data elements previously stored in a Datagram. ...
TypeHandle is the identifier used to differentiate C++ class types.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
Encapsulates the data generated from (or sent into) any particular DataNode.
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...