NAME

PNI::Node - is a basic unit of code

DESCRIPTION

This is an abstract class: it has an init method called after creation and a task method called at every PNI::task.

ATTRIBUTES

inputs

outputs

ABSTRACT METHODS

init

task

METHODS

add_input

my $in = $node->add_input('in');

Creates a new PNI::Slot::In.

add_output

my $out = $node->add_output('out');

Creates a new PNI::Slot::Out.

get_input

get_inputs

get_input_edges

get_ordered_inputs

get_ordered_outputs

get_output

get_output_edges

get_outputs

get_type

Returns the PNI node type, which is the name of the node package minus the leading 'PNI::Node::' string;

some_input_is_connected