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

#include <EventFlags.hpp>

Inheritance diagram for cafe::EventFlags:

cafe::Processor List of all members.

Detailed Description

Select events based on a list of event flag names.

Configuration options: one of

Definition at line 24 of file EventFlags.hpp.

Public Member Functions

 EventFlags (const char *name)
bool processEvent (Event &event)
 Called for every event.

 ClassDef (EventFlags, 1)

Private Attributes

bool _any
std::vector< std::string > _flagNames
std::vector< TMBEventFlags::Flag_flagValues
bool _veto
std::vector< std::string > _vetoflagNames
std::vector< TMBEventFlags::Flag_vetoflagValues


Constructor & Destructor Documentation

cafe::EventFlags::EventFlags const char *  name  ) 
 

Definition at line 12 of file EventFlags.cpp.

References _any, _flagNames, _flagValues, _veto, _vetoflagNames, _vetoflagValues, TMBEventFlags::Flag, TMBEventFlags::GetFlagValue(), cafe::Config::getVString(), cafe::Processor::name(), and cafe::Processor::out().


Member Function Documentation

cafe::EventFlags::ClassDef EventFlags  ,
 

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

Called for every event.

Reimplemented from cafe::Processor.

Definition at line 68 of file EventFlags.cpp.

References _any, _flagValues, _veto, _vetoflagValues, cafe::Event::getEventFlags(), and TMBEventFlags::HasFlag().


Member Data Documentation

bool cafe::EventFlags::_any [private]
 

Definition at line 29 of file EventFlags.hpp.

Referenced by EventFlags(), and processEvent().

std::vector<std::string> cafe::EventFlags::_flagNames [private]
 

Definition at line 30 of file EventFlags.hpp.

Referenced by EventFlags().

std::vector<TMBEventFlags::Flag> cafe::EventFlags::_flagValues [private]
 

Definition at line 31 of file EventFlags.hpp.

Referenced by EventFlags(), and processEvent().

bool cafe::EventFlags::_veto [private]
 

Definition at line 32 of file EventFlags.hpp.

Referenced by EventFlags(), and processEvent().

std::vector<std::string> cafe::EventFlags::_vetoflagNames [private]
 

Definition at line 33 of file EventFlags.hpp.

Referenced by EventFlags().

std::vector<TMBEventFlags::Flag> cafe::EventFlags::_vetoflagValues [private]
 

Definition at line 34 of file EventFlags.hpp.

Referenced by EventFlags(), and processEvent().


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