1Event::ExecFlow::FronteUnsde(r3)Contributed Perl DocumenEtvaetnito:n:ExecFlow::Frontend(3)
2
3
4
6 Event::ExecFlow::Frontend - Abstract base class for custom frontends
7
9 #-- Derived from Event::ExecFlow::Frontend
10 my $frontend = MyApp::GUI::Frontent->new();
11 my $job = Event::ExecFlow::Job::Command->new ( ... );
12 $frontend->start_job($job);
13
14 #-- Later the following methods are called and need to
15 #-- by implemented by you
16 $frontend->report_job_start($job);
17 $frontend->report_job_progress($job);
18 $frontend->report_job_error($job);
19 $frontend->report_job_warning($job);
20 $frontend->report_job_finished($job);
21 $frontend->log($message);
22
24 This is an abstract base class and usually not used directly from the
25 application. For daily programming the attributes defined in this class
26 are most important, since they are common to all Jobs of the
27 Event::ExecFlow framework.
28
30 Event::ExecFlow
31
32 Event::ExecFlow::Job
33 +--- Event::ExecFlow::Job::Group
34 +--- Event::ExecFlow::Job::Command
35 +--- Event::ExecFlow::Job::Code
36
37 Event::ExecFlow::Frontend
38 Event::ExecFlow::Callbacks
39 Event::ExecFlow::Scheduler
40 +--- Event::ExecFlow::Scheduler::SimpleMax
41
43 [ FIXME: describe all methods in detail ]
44
46 Jörn Reder <joern at zyn dot de>
47
49 Copyright 2005-2006 by Jörn Reder.
50
51 This library is free software; you can redistribute it and/or modify it
52 under the terms of the GNU Library General Public License as published
53 by the Free Software Foundation; either version 2.1 of the License, or
54 (at your option) any later version.
55
56 This library is distributed in the hope that it will be useful, but
57 WITHOUT ANY WARRANTY; without even the implied warranty of
58 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
59 Library General Public License for more details.
60
61 You should have received a copy of the GNU Library General Public
62 License along with this library; if not, write to the Free Software
63 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307
64 USA.
65
67 Hey! The above document had some coding errors, which are explained
68 below:
69
70 Around line 123:
71 Non-ASCII character seen before =encoding in 'Jörn'. Assuming UTF-8
72
73
74
75perl v5.28.0 2006-02-27 Event::ExecFlow::Frontend(3)