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

#include <IfPr.hpp>

Inheritance diagram for cafe::IfPr:

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

Detailed Description

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

Otherwise execute the .Else: children.

Configuration options:

Definition at line 26 of file IfPr.hpp.

Public Member Functions

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

 ClassDef (IfPr, 0)

Constructor & Destructor Documentation

cafe::IfPr::IfPr const char *  name  ) 

Definition at line 14 of file IfPr.cpp.

References cafe::Controller::_tag, cafe::Controller::_untag, cafe::Controller::add(), cafe::Controller::Controller(), cafe::Processor::err(), cafe::Config::get(), cafe::Config::getVString(), cafe::Processor::name(), and cafe::ParseRun::parse().

cafe::IfPr::~IfPr  ) 

Definition at line 38 of file IfPr.cpp.

Member Function Documentation

cafe::IfPr::ClassDef IfPr  ,

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

Called for every event.

Reimplemented from cafe::Controller.

Definition at line 42 of file IfPr.cpp.

References cafe::Controller::_processors, cafe::Controller::_tag, cafe::Controller::_untag, 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