Go to the documentation of this file.
54 INLINE
explicit DataNode(
const std::string &name);
65 INLINE
int get_num_inputs()
const;
66 INLINE
int get_num_outputs()
const;
69 void write_inputs(std::ostream &out)
const;
70 void write_outputs(std::ostream &out)
const;
71 void write_connections(std::ostream &out)
const;
74 int define_input(
const std::string &name,
TypeHandle data_type);
75 int define_output(
const std::string &name,
TypeHandle data_type);
79 virtual void parents_changed();
100 class DataConnection {
119 static void init_type() {
120 PandaNode::init_type();
122 PandaNode::get_class_type());
125 return get_class_type();
127 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...
A class to retrieve the individual data elements previously stored in a Datagram.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
TypeHandle is the identifier used to differentiate C++ class types.
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
The fundamental type of node for the data graph.
Encapsulates the data generated from (or sent into) any particular DataNode.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual PandaNode * make_copy() const
Returns a newly-allocated PandaNode that is a shallow copy of this one.
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.