Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

composers.Composer Class Reference

Inheritance diagram for composers.Composer:

Inheritance graph
[legend]
Collaboration diagram for composers.Composer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Abstract class that defines the basic interface that all MEAPsoft composers should follow.

Author:
Ron Weiss (ronw@ee.columbia.edu)

Definition at line 42 of file Composer.java.

Public Methods

void setup () throws IOException, ParserException
 Setup the Composer - read in files, etc.

abstract EDLFile compose ()
 Compose an EDLFile.

void run ()
 Set everything up, process input, and write output.

void doComposer () throws IOException, ParserException
 Setup, compose, and write output file.

void addCommandToAllEDLChunks (String cmd)
 Add a command to all chunks in outFile.

void addCommandsToAllEDLChunks (Vector cmds)
 Add commands to all chunks in outFile.

void addCommand (String cmd)
 Add a command to be applied to all EDL chunks.

void parseCommands (String[] args, String argString)
 Parse command strings from the command line arguments.


Static Public Methods

void printCommandLineOptions (char arg)
 Print usage of Compose command line options.


Public Attributes

EDLFile outFile


Member Function Documentation

abstract EDLFile composers.Composer.compose   [pure virtual]
 

Compose an EDLFile.

This is where the magic happens.

Implemented in composers.BlipComposer, composers.EDLComposer, composers.HeadBangComposer, composers.HMMComposer, composers.IntraChunkShuffleComposer, composers.MashupComposer, composers.MeapaeMComposer, composers.NNComposer, composers.RotComposer, composers.ShoobyComposer, composers.SortComposer, composers.ThresholdComposer, and composers.VQComposer.

Referenced by composers.Composer.doComposer().

void composers.Composer.doComposer   throws IOException, ParserException [inline]
 

Setup, compose, and write output file.

Doesn't handle exceptions.

Definition at line 93 of file Composer.java.

References composers.Composer.addCommandsToAllEDLChunks(), composers.Composer.compose(), and composers.Composer.setup().

Referenced by composers.Composer.run().

void composers.Composer.setup   throws IOException, ParserException [inline]
 

Setup the Composer - read in files, etc.

This should be called before any call to compose() to ensure that the inputs and outputs are properly initialized.

Reimplemented from meapsoft.MEAPUtil.

Reimplemented in composers.BlipComposer, composers.EDLComposer, composers.HeadBangComposer, composers.IntraChunkShuffleComposer, composers.MashupComposer, composers.MeapaeMComposer, composers.RotComposer, composers.SortComposer, composers.ThresholdComposer, and composers.VQComposer.

Definition at line 59 of file Composer.java.

Referenced by composers.Composer.doComposer().


The documentation for this class was generated from the following file:
Generated on Tue Feb 6 19:02:31 2007 for MEAPsoft by doxygen1.2.18