GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ADF::Trigger Class Reference

General trigger. More...

#include <Trigger.h>

Inheritance diagram for ADF::Trigger:

Public Member Functions

void Active (Bool_t b=true)
 Active this trigger. More...
 
virtual Bool_t Check ()
 Check if the currently read key fired this trigger. If yes, IsFired is true. More...
 
void Fired (Bool_t b=true)
 Fired (default) or not this trigger. More...
 
const std::string & GetName () const
 
UInt_t GetUniqueID ()
 
Bool_t IsActive () const
 Check if this trigger is in fired state. More...
 
Bool_t IsFired () const
 Check if this trigger is in fired state. More...
 
Bool_t IsUniversal () const
 Check if this trigger is in fired state. More...
 
Bool_t IsZombie () const
 Check if this trigger is in fired state. More...
 
virtual void Reset ()
 Check if this trigger is in fired state. More...
 
 Trigger (const Char_t *name)
 
void Universal (Bool_t b=true)
 Set this trigger as universal or not. More...
 
void Zombie (Bool_t b=true)
 this trigger More...
 
virtual ~Trigger ()
 

Protected Attributes

Bool_t fIsActive
 true if this is an active trigger More...
 
Bool_t fIsFired
 true if this has just been fired More...
 
Bool_t fIsUniversal
 true if this is an universal trigger (means suitable for any dataflow) More...
 
Bool_t fIsZombie
 true if this is a zombie (EX: objects not properly allocated) More...
 
LogMessage fLog
 to send messages to the log server More...
 
std::string fName
 the trigger name More...
 

Detailed Description

General trigger.

Keys are extracted from the data flow to map it. It is the right time then to check if the current frame is needed by a particular algorithm.

Thus, an algorithm Register through a Trigger to a Data Flow. If the conditions are filled, the trigger is set Fired and the data flow notifies the algorithm.

Definition at line 50 of file Trigger.h.


The documentation for this class was generated from the following files: