Public Member Functions | Private Attributes
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 78 of file SundanceEventDetector.hpp.


Constructor & Destructor Documentation

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

Definition at line 82 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 97 of file SundanceEventDetector.hpp.

References eventTime_.

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

Implements Sundance::EventDetectorBase.

Definition at line 100 of file SundanceEventDetector.hpp.

References gotIt_.

Referenced by checkForEvent().

Reimplemented from Sundance::EventDetectorBase.

Definition at line 89 of file SundanceEventDetector.hpp.

References terminateOnDetection_.


Member Data Documentation

Definition at line 106 of file SundanceEventDetector.hpp.

Referenced by checkForEvent(), and eventTime().

Definition at line 104 of file SundanceEventDetector.hpp.

Referenced by checkForEvent().

Definition at line 105 of file SundanceEventDetector.hpp.

Referenced by checkForEvent(), and foundEvent().

Definition at line 107 of file SundanceEventDetector.hpp.

Referenced by terminateOnDetection().

Definition at line 103 of file SundanceEventDetector.hpp.

Referenced by checkForEvent().

Site Contact