EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StopTime Class Reference

#include <EicRoot/blob/master/base/FairTSBufferFunctional.h>

+ Inheritance diagram for StopTime:
+ Collaboration diagram for StopTime:

Public Member Functions

 StopTime ()
 
bool Call (FairTimeStamp *a, double b)
 
bool TimeOut ()
 
void ResetTimeOut ()
 
- Public Member Functions inherited from BinaryFunctor
virtual bool operator() (FairTimeStamp *a, double b)
 

Private Attributes

double fRequestTime
 
double fOldTime
 
int fSameTimeRequestCounter
 

Detailed Description

Gives you all the data which is older than the given parameter StopTime. It does not return the data requested before.

Definition at line 43 of file FairTSBufferFunctional.h.

View newest version in sPHENIX GitHub at line 43 of file FairTSBufferFunctional.h

Constructor & Destructor Documentation

StopTime::StopTime ( )
inline

Definition at line 46 of file FairTSBufferFunctional.h.

View newest version in sPHENIX GitHub at line 46 of file FairTSBufferFunctional.h

Member Function Documentation

bool StopTime::Call ( FairTimeStamp a,
double  b 
)
inlinevirtual

b: StopTime: All data older than StopTime is returned

Implements BinaryFunctor.

Definition at line 51 of file FairTSBufferFunctional.h.

View newest version in sPHENIX GitHub at line 51 of file FairTSBufferFunctional.h

References fRequestTime, and FairTimeStamp::GetTimeStamp().

+ Here is the call graph for this function:

void StopTime::ResetTimeOut ( )
inlinevirtual

Reimplemented from BinaryFunctor.

Definition at line 75 of file FairTSBufferFunctional.h.

View newest version in sPHENIX GitHub at line 75 of file FairTSBufferFunctional.h

References fSameTimeRequestCounter.

bool StopTime::TimeOut ( )
inlinevirtual

Reimplemented from BinaryFunctor.

Definition at line 57 of file FairTSBufferFunctional.h.

View newest version in sPHENIX GitHub at line 57 of file FairTSBufferFunctional.h

References fOldTime, fRequestTime, and fSameTimeRequestCounter.

Member Data Documentation

double StopTime::fOldTime
private

Definition at line 79 of file FairTSBufferFunctional.h.

View newest version in sPHENIX GitHub at line 79 of file FairTSBufferFunctional.h

Referenced by TimeOut().

double StopTime::fRequestTime
private

Definition at line 78 of file FairTSBufferFunctional.h.

View newest version in sPHENIX GitHub at line 78 of file FairTSBufferFunctional.h

Referenced by Call(), and TimeOut().

int StopTime::fSameTimeRequestCounter
private

Definition at line 80 of file FairTSBufferFunctional.h.

View newest version in sPHENIX GitHub at line 80 of file FairTSBufferFunctional.h

Referenced by ResetTimeOut(), and TimeOut().


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