Main > Programming > Libraries >

Event::ExecFlow 0.62

Event::ExecFlow 0.62

Sponsored Links

Event::ExecFlow 0.62 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.015 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 963
Date added: 2007-03-09
Publisher: Jörn Reder

Event::ExecFlow 0.62 description

Event::ExecFlow is a high level API for event-based execution flow control.

ABSTRACT

Event::ExecFlow provides a ligh level API for defining complex flow controls with asynchronous execution of external programs.

SYNOPSIS

use Event::ExecFlow;

my $job = Event::ExecFlow::Job::Group->new (
jobs => [
Event::ExecFlow::Job::Command->new (
name => "transcode",
title => "Transcoding DVD title to OGG",
command => "transcode -i /dev/dvd ...",
fetch_output => 1,
progress_max => 4711, # number of frames
progress_parser => sub {
my ($job, $buffer) = @_;
$job->set_progress_cnt($1) if $buffer =~ /[d+-(d+)]/;
#-- or simply write this:
#-- progress_parser => qr/[d+-(d+)]/,
},
),
Event::ExecFlow::Job::Code->new (
name => "checks",
title => "Do some checks",
depends_on => [ "transcode" ],
code => sub {
my ($job) = @_;
my $transcode = $job->get_group->get_job_by_name("transcode");
if ( $transcode->get_output !~ /.../ ) {
$job->set_error_message("XY check failed");
}
#-- this could be done easier as a post_callback added to
#-- the "transcode" job above, but its nevertheless a good
#-- example for the Code job type and shows how jobs can
#-- interfere with each other.
},
),
Event::ExecFlow::Job::Command->new (
title => "Muxing OGG file",
depends_on => [ "checks" ],
command => "ogmmerge ...",
no_progress => 1,
),
],
);

#-- this inherits from Event::ExecFlow::Frontend
my $frontend = Video::DVDRip::GUI::ExecFlow->new(...);
$frontend->start_job($job);

Event::ExecFlow offers a high level API to declare jobs, which mainly execute external commands, parse their output to get progress or other status information, triggers actions when the command has been finished etc. Such jobs can be chained together in a recursive fashion to fulfill rather complex tasks which consist of many jobs.

Additionally it defines an extensible API for communication with the frontend application, which may be a written using Gtk2, Tk or Qt or is a simple text console program.

In case of Gtk2 a custom widget for displaying an Event::ExecFlow job plan, including progress updates, is shipped with the Gtk2::Ex::FormFactory package.

Event::ExecFlow 0.62 Screenshot

Advertisements

Event::ExecFlow 0.62 Keywords

Bookmark Event::ExecFlow 0.62

Hyperlink code:
Link for forum:

Event::ExecFlow 0.62 Copyright

WareSeeker periodically updates pricing and software information of Event::ExecFlow 0.62 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Event::ExecFlow 0.62 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Event::RPC is a event based transparent Client/Server RPC framework. Free Download
Menc is an GUI to encode videos with MEncoder and transcode. Free Download
remake is a patched and modernized version of GNU make utility. Free Download
Event::Stats is a Perl module for event loop statistics. Free Download
dlq lets modem/isdn users download files, without disrupting normal traffic, by using idle bandwidth. Free Download
IMLogger provides an utility which logs instant messenger screen names logging on and off. Free Download
POE::Loop::Event is a bridge that supports Gtks event loop from POE. Free Download
High Level Firewall Language (hlfl) permits writing firewalling rules using a high level language. Free Download