Sundance::ThresholdEventDetector Class Reference

Inheritance diagram for Sundance::ThresholdEventDetector:

Sundance::EventDetectorBase

List of all members.

Public Member Functions

 ThresholdEventDetector (double threshold, ThresholdEventType eventType, bool terminateOnDetection=false)
bool terminateOnDetection () const
bool checkForEvent (const double &t1, const Expr &u1, const double &t2, const Expr &u2)
double eventTime () const
double foundEvent () const

Private Attributes

double threshold_
ThresholdEventType eventType_
bool gotIt_
double eventTime_
bool terminateOnDetection_


Detailed Description

Definition at line 67 of file SundanceEventDetector.hpp.


Constructor & Destructor Documentation

Sundance::ThresholdEventDetector::ThresholdEventDetector ( double  threshold,
ThresholdEventType  eventType,
bool  terminateOnDetection = false 
) [inline]

Definition at line 71 of file SundanceEventDetector.hpp.


Member Function Documentation

bool Sundance::ThresholdEventDetector::checkForEvent ( const double &  t1,
const Expr u1,
const double &  t2,
const Expr u2 
) [virtual]

double Sundance::ThresholdEventDetector::eventTime (  )  const [inline, virtual]

Implements Sundance::EventDetectorBase.

Definition at line 86 of file SundanceEventDetector.hpp.

References eventTime_.

double Sundance::ThresholdEventDetector::foundEvent (  )  const [inline, virtual]

Implements Sundance::EventDetectorBase.

Definition at line 89 of file SundanceEventDetector.hpp.

References gotIt_.

Referenced by checkForEvent().

bool Sundance::ThresholdEventDetector::terminateOnDetection (  )  const [inline, virtual]

Reimplemented from Sundance::EventDetectorBase.

Definition at line 78 of file SundanceEventDetector.hpp.

References terminateOnDetection_.


Member Data Documentation

Definition at line 95 of file SundanceEventDetector.hpp.

Referenced by checkForEvent(), and eventTime().

Definition at line 93 of file SundanceEventDetector.hpp.

Referenced by checkForEvent().

Definition at line 94 of file SundanceEventDetector.hpp.

Referenced by checkForEvent(), and foundEvent().

Definition at line 96 of file SundanceEventDetector.hpp.

Referenced by terminateOnDetection().

Definition at line 92 of file SundanceEventDetector.hpp.

Referenced by checkForEvent().

Site Contact