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

#include <If.hpp>

Inheritance diagram for cafe::If:

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

Detailed Description

For each event, if the Select expression evaluates to true, execute the .Then: children of this Controller.

Otherwise execute the .Else: children.

Configuration options:

Definition at line 26 of file If.hpp.

Public Member Functions

 If (const char *name)
 ~If ()
virtual void inputFileOpened (TFile *file)
 Called for every new input file that was opened.

virtual bool processEvent (Event &event)
 Called for every event.

 ClassDef (If, 0)

Constructor & Destructor Documentation

cafe::If::If const char *  name  ) 

Definition at line 16 of file If.cpp.

References cafe::Controller::add(), cafe::Controller::Controller(), cafe::Processor::err(), cafe::Config::get(), cafe::Processor::name(), cafe::ParseRun::parse(), and cafe::Formula::setFormula().

cafe::If::~If  ) 

Definition at line 39 of file If.cpp.

Member Function Documentation

cafe::If::ClassDef If  ,

void cafe::If::inputFileOpened TFile *  file  )  [virtual]

Called for every new input file that was opened.

Reimplemented from cafe::Controller.

Definition at line 41 of file If.cpp.

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

Called for every event.

Reimplemented from cafe::Controller.

Definition at line 48 of file If.cpp.

References cafe::Controller::_processors, cafe::Controller::_tag, cafe::Controller::_untag, cafe::Formula::getFormula(), cafe::EventBase::tag(), and cafe::EventBase::untag().

The documentation for this class was generated from the following files:
Generated on Thu Apr 3 04:14:27 2008 for CAF by doxygen 1.3.4