DataNode

class DataNode

Bases: PandaNode

The fundamental type of node for the data graph. The DataNode class is itself primarily intended as an abstract class; it defines no inputs and no outputs. Most kinds of data nodes will derive from this to specify the inputs and outputs in the constructor.

DataNode does not attempt to cycle its data with a PipelineCycler. The data graph is intended to be used only within a single thread.

Inheritance diagram

Inheritance diagram of DataNode

explicit DataNode(std::string const &name)
static TypeHandle get_class_type(void)
void write_connections(std::ostream &out) const

Writes to the indicated ostream a list of all the connections currently showing between this DataNode and its parent(s).

void write_inputs(std::ostream &out) const

Writes to the indicated ostream a list of all the inputs this DataNode might expect to receive.

void write_outputs(std::ostream &out) const

Writes to the indicated ostream a list of all the outputs this DataNode might generate.