FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BinaryFunctor Class Referenceabstract

Base class for all functors which are used in the FairTSBufferFunctional. More...

#include <FairTSBufferFunctional.h>

Inheritance diagram for BinaryFunctor:
StopTime TimeGap

Public Member Functions

virtual bool operator() (FairTimeStamp *a, double b)
 
virtual bool Call (FairTimeStamp *a, double b)=0
 
virtual bool TimeOut ()
 
virtual void ResetTimeOut ()
 
virtual ~BinaryFunctor ()
 

Detailed Description

Base class for all functors which are used in the FairTSBufferFunctional.

See Also
FairTSBufferFunctional

The class is a base class to control which data is extracted by the FairTSBufferFunctional class for processing. The important method to overwrite is Call. It gets the actual data which is read in from the tree and a parameter. If the actual data is not anymore part of the data you want to have Call returns true to stop the reading of data. Otherwise it should return false. The method TimeOut is used to break the processing if for example always the same data is requested.

Definition at line 35 of file FairTSBufferFunctional.h.

Constructor & Destructor Documentation

virtual BinaryFunctor::~BinaryFunctor ( )
inlinevirtual

Definition at line 43 of file FairTSBufferFunctional.h.

Member Function Documentation

virtual bool BinaryFunctor::Call ( FairTimeStamp a,
double  b 
)
pure virtual

Implemented in TimeGap, and StopTime.

virtual bool BinaryFunctor::operator() ( FairTimeStamp a,
double  b 
)
inlinevirtual

Definition at line 38 of file FairTSBufferFunctional.h.

virtual void BinaryFunctor::ResetTimeOut ( )
inlinevirtual

Reimplemented in StopTime.

Definition at line 41 of file FairTSBufferFunctional.h.

virtual bool BinaryFunctor::TimeOut ( )
inlinevirtual

Reimplemented in StopTime.

Definition at line 40 of file FairTSBufferFunctional.h.


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