Base class for a trigger on a data flow. More...
#include <Trigger.h>
Public Member Functions | |
void | Active (Bool_t b=true) |
Active this trigger. More... | |
virtual SharedFP * | Add (const FactoryItem &key_item, const FactoryItem &frame_item, bool iscons=true, const Char_t *option="")=0 |
Add a frame to the Embedded list of required frames. More... | |
virtual SharedFP * | AddAutoConf (const FactoryItem &key_item, const FactoryItem &frame_item, UInt_t which)=0 |
Add a configuration frame to the input frame #which. More... | |
virtual Bool_t | Check () |
Check if the currently read key fired this trigger. If yes, IsFired is true. More... | |
DFTrigger (const Char_t *trig_name) | |
void | Fired (Bool_t b=true) |
Fired (default) or not this trigger. More... | |
virtual const Frame * | GetConstInputFrame (UInt_t which=0u) const =0 |
to get back the frames that define this trigger More... | |
virtual std::string | GetDFOption (UInt_t=0u) const |
data flow option for that particular input More... | |
virtual Frame * | GetEmbeddedOutputFrame (ConfAgent::EModel model=ConfAgent::kStrict)=0 |
Return the true output frame. More... | |
virtual Frame * | GetInputFrame (UInt_t which=0u)=0 |
to get back the frames that define this trigger More... | |
virtual SharedFP * | GetInputSharedFP (UInt_t which=0u)=0 |
to get back the Shared pointer that define this trigger More... | |
const std::string & | GetName () const |
virtual UInt_t | GetNbInputFrame () const =0 |
number of input frames that define this trigger More... | |
virtual Frame * | GetOutputFrame ()=0 |
to get back the output frame More... | |
UInt_t | GetUniqueID () |
virtual Bool_t | HasEmbedded () const =0 |
true if this is a trigger for embedded frames More... | |
Bool_t | IsActive () const |
Check if this trigger is in fired state. More... | |
virtual Bool_t | IsConsumable (UInt_t which=0u) const =0 |
to know if the frame is consumable or not More... | |
Bool_t | IsFired () const |
Check if this trigger is in fired state. More... | |
virtual Bool_t | IsIndividualFired (UInt_t which=0u) const =0 |
fine tuning of the trigger current conditions 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 Bool_t | Reconfigure (ConfAgent *)=0 |
Modify the Frame definitions respecting the new data flow definition and the acceptable Frame changes. More... | |
virtual void | Reset () |
Check if this trigger is in fired state. More... | |
virtual SharedFP * | SetOutputFrame (Frame *frame)=0 |
Once a trigger has fired, the result of the algorithm is set through this. More... | |
virtual SharedFP * | SetOutputFrame (const FactoryItem &key_item, const FactoryItem &frame_item)=0 |
Once a trigger has fired, the result of the algorithm is set through this. More... | |
void | Universal (Bool_t b=true) |
Set this trigger as universal or not. More... | |
void | Zombie (Bool_t b=true) |
this trigger More... | |
virtual | ~DFTrigger () |
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... | |
Base class for a trigger on a data flow.
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 fullfilled, the trigger is set Fired and the data flow notifies the algorithm.