NAME
PNI::Node
DESCRIPTION
This is the base class every PNI::Node must inherit from. It declares two abstract methods: init and task.
Don't use this module, call PNI::NODE instead and use the reference it returns.
SUBS
- has_input
-
Declares node has the given input. Returns a reference to the slot created by _add_slot.
- has_output
-
Declares node has the given output. Returns a reference to the slot created by _add_slot.
- _add_slot
-
Called by has_input and has_output methods to allocate a new PNI Slot.
- type
-
Returns the PNI node type.
AUTHOR
G. Casati , <fibo@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2010 by G. Casati
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.