ActiveFragmentCreator Class Reference

#include <fragment-creator.h>

Collaboration diagram for ActiveFragmentCreator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

elementResult createOneFor (Song *song)
elementResult terminate ()

Protected Member Functions

void queue_createOneFor (Song *song)
void queue_terminate ()
bool handle ()
 ActiveFragmentCreator (FragmentCreator *s, string name)

Friends

class FragmentCreator

Constructor & Destructor Documentation

ActiveFragmentCreator::ActiveFragmentCreator ( FragmentCreator s,
string  name 
) [inline, protected]

Member Function Documentation

elementResult ActiveFragmentCreator::createOneFor ( Song song  ) 

this relies heavily on mplayer its excellent capabilities to seek to the right position.

to avoid that we create the same fragment multiple times and thereby needlessly remove the file we keep track of all the fragments we created already

References app, description, Done, escape(), execute(), exists(), FragmentsDir, metarate, MusicDir, OneSpace, selector, and slash.

Referenced by ActiveFragmentCreator_msg_createOneFor::run().

bool ActiveFragmentCreator::handle (  )  [protected]
void ActiveFragmentCreator::queue_createOneFor ( Song song  )  [inline, protected]
void ActiveFragmentCreator::queue_terminate (  )  [inline, protected]
elementResult ActiveFragmentCreator::terminate (  ) 

Friends And Related Function Documentation

friend class FragmentCreator [friend]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2