Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

DC_InRangeProfile Class Reference

#include <DC_InRangeProfile.h>

Inheritance diagram for DC_InRangeProfile:

RangeProfile MonitoringProfile CC_RootObject List of all members.

Detailed Description

Default component implementing an "in range" monitoring profile.

This monitoring profile reports a "deviation from profile" if the value of the monitored variable lies inside a predefined range interval [lowerBound, upperBound].

Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 30 of file DC_InRangeProfile.h.

Public Member Functions

 DC_InRangeProfile (void)
 Instantiate an in-range monitoring profile.


Protected Member Functions

virtual bool doProfileCheck (TD_Float value)
 Check whether the monitored value is within the range.


Constructor & Destructor Documentation

DC_InRangeProfile::DC_InRangeProfile void   ) 
 

Instantiate an in-range monitoring profile.

The class identifier is set.

Definition at line 21 of file DC_InRangeProfile.cpp.


Member Function Documentation

bool DC_InRangeProfile::doProfileCheck TD_Float  value  )  [protected, virtual]
 

Check whether the monitored value is within the range.

If it is, a "devation from profile" is reported. A pseudo-code implementation for this method is as follows:

   if ( ( value>lowerBound) && (value<upperBound) )
      return MON_PROFILE_DEVIATION; 
   else
      return NO_MON_PROFILE_DEVIATION; 

Parameters:
value the value of the monitored variable
Returns:
true if the monitored variable lies within the range, false otherwise

Implements RangeProfile.

Definition at line 25 of file DC_InRangeProfile.cpp.


The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved