Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

cafe::Permute Class Reference
[CAF Environment (Cafe)]

Execute all permutations of its children (N!). More...

#include <Permute.hpp>

Inheritance diagram for cafe::Permute:

cafe::Controller cafe::Processor List of all members.

Public Member Functions

 Permute (const char *name)
 ~Permute ()
virtual bool processEvent (cafe::Event &event)
 Called for every event.

 ClassDef (Permute, 1)

Detailed Description

Execute all permutations of its children (N!).

Internally creates a Controller for each permutation. and fills each with a possible sequence. For each sub-Controller it creates a separate directory, named after the permuted sequence of names of the children.

Example:

is equivalent to:

Cut1_Cut2_Cut3.Directory: Cut1_Cut2_Cut3 Cut1_Cut3_Cut2.Directory: Cut1_Cut3_Cut2 ...

Definition at line 32 of file Permute.hpp.


Constructor & Destructor Documentation

cafe::Permute::Permute const char *  name  ) 
 

Definition at line 14 of file Permute.cpp.

References cafe::Controller::add(), cafe::Controller::Controller(), cafe::Config::getVString(), cafe::Processor::name(), and cafe::Config::set().

cafe::Permute::~Permute  ) 
 

Definition at line 66 of file Permute.cpp.


Member Function Documentation

cafe::Permute::ClassDef Permute  ,
 

bool cafe::Permute::processEvent cafe::Event event  )  [virtual]
 

Called for every event.

Reimplemented from cafe::Controller.

Definition at line 55 of file Permute.cpp.

References cafe::Controller::_processors.


The documentation for this class was generated from the following files:
Generated on Tue Mar 28 10:13:10 2006 for CAF by doxygen 1.3.4