Net::SinFP3::Input - base class for Input plugin objects
use base qw(Net::SinFP3::Input); # Your Input plugin code
This is the base class for all Net::SinFP3::Input plugins.
The global object containing global parameters and pointers to currently executing plugins.
When set to true value, the next call to run method will return undef. This means the plugin has nothing more to process and can stop.
This is mainly used internally when an init method is able to fill a list of next data to process.
Object constructor. You must give it the following attributes: global.
Do some initialization by writing this method.
To use when you are ready to launch the main loop.
Method will be run within the jobbed process (after fork or equivalent).
Do some cleanup by writing this method. post is run at the very end of main Net::SinFP3 loop postlude. The exact order is:
output->post > search->post > mode->post > db->post > input->post
Method will be run in the parent jobbed process (after fork or equivalent).
Patrice <GomoR> Auffret
Copyright (c) 2011-2015, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.