zMonitorRuleOutsideRange Class Reference

#include <zMonitor.h>

Inheritance diagram for zMonitorRuleOutsideRange:

Inheritance graph
[legend]
Collaboration diagram for zMonitorRuleOutsideRange:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 zMonitorRuleOutsideRange (REAL _lowLimit, REAL _highLimit)
virtual ~zMonitorRuleOutsideRange ()
bool isValid (float monitorValue)

Private Attributes

REAL lowLimit
REAL highLimit


Detailed Description

Definition at line 162 of file zMonitor.h.


Constructor & Destructor Documentation

zMonitorRuleOutsideRange::zMonitorRuleOutsideRange ( REAL  _lowLimit,
REAL  _highLimit 
) [inline]

Definition at line 166 of file zMonitor.h.

00166 :zMonitorRule(),lowLimit(_lowLimit),highLimit(_highLimit) {};

virtual zMonitorRuleOutsideRange::~zMonitorRuleOutsideRange (  )  [inline, virtual]

Definition at line 167 of file zMonitor.h.

00167 {};


Member Function Documentation

bool zMonitorRuleOutsideRange::isValid ( float  monitorValue  )  [virtual]

Reimplemented from zMonitorRule.

Definition at line 171 of file zMonitor.cpp.

References highLimit, and lowLimit.

00171                                                     {
00172     return (monitorValue <= lowLimit  || highLimit <= monitorValue);
00173 }


Member Data Documentation

REAL zMonitorRuleOutsideRange::lowLimit [private]

Definition at line 163 of file zMonitor.h.

Referenced by isValid().

REAL zMonitorRuleOutsideRange::highLimit [private]

Definition at line 164 of file zMonitor.h.

Referenced by isValid().


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 00:01:46 2008 for Armagetron Advanced by  doxygen 1.5.4