limits_alarm_impl Class Reference

#include <limits_alarm_impl.h>

Inheritance diagram for limits_alarm_impl:

Inheritance graph
[legend]
Collaboration diagram for limits_alarm_impl:

Collaboration graph
[legend]
List of all members.

Detailed Description

Function Block implementation for checking the process value exceeding limits.


Public Member Functions

implementation of abstract interface 'FB'
! /** Perfoms the algorithm of the function block

virtual void en ()
implementation of abstract interface 'limits_alarm'
! /** Sets the input values of the function block. Should be called before en().
Parameters:
x - value of x (process value)
h - value of high limit
l - value of low limit
eps - value of eps


virtual void get_input (float &x, float &h, float &l, float &eps) const
virtual bool get_result () const
virtual bool is_high_alert () const
virtual bool is_low_alert () const
virtual void set_input (const float x, const float h, const float l, const float eps)
virtual void set_lower_checker (hysteresis *hyst)
virtual void set_upper_checker (hysteresis *hyst)

Private Member Functions

 limits_alarm_impl (const limits_alarm_impl &obj)
limits_alarm_imploperator= (const limits_alarm_impl &obj)

Private Attributes

float m_eps
float m_eps_2
float m_h
hysteresism_higher
float m_l
hysteresism_lower
bool m_q
bool m_qh
bool m_ql
float m_x


Constructor & Destructor Documentation

limits_alarm_impl::limits_alarm_impl (  ) 

Constructor

limits_alarm_impl::~limits_alarm_impl (  )  [virtual]

Destructor

limits_alarm_impl::limits_alarm_impl (  ) 

Constructor

limits_alarm_impl::~limits_alarm_impl (  )  [virtual]

Destructor


Member Function Documentation

virtual void limits_alarm_impl::en (  )  [virtual]

Perfoms the algorithm of the function block

Implements fb.

virtual void limits_alarm_impl::get_input ( float &  x,
float &  h,
float &  l,
float &  eps 
) const [virtual]

Gets the input values of the function block. Should be called before en().

Parameters:
x - value of x (process value)
h - value of high limit
l - value of low limit
eps - value of eps

Implements limits_alarm.

virtual bool limits_alarm_impl::get_result (  )  const [virtual]

Delivers the result of the algorithm. Should be called after en(). return true - value exceeds the limit.

Implements limits_alarm.

virtual bool limits_alarm_impl::is_high_alert (  )  const [virtual]

Is true, if value exceeds the high limit. return true - value exceeds the high limit.

Implements limits_alarm.

virtual bool limits_alarm_impl::is_low_alert (  )  const [virtual]

Is true, if value exceeds the low limit. return true - value exceeds the low limit.

Implements limits_alarm.

virtual void limits_alarm_impl::set_input ( const float  x,
const float  h,
const float  l,
const float  eps 
) [virtual]

Sets the input values of the function block. Should be called before en().

Parameters:
x - value of x (process value)
h - value of high limit
l - value of low limit
eps - value of eps

Implements limits_alarm.

virtual void limits_alarm_impl::set_lower_checker ( hysteresis hyst  )  [virtual]

Sets the interface pointer to an instance for lower checker.

Parameters:
hyst - interface pointer to a hysteresis implementation

Implements limits_alarm.

virtual void limits_alarm_impl::set_upper_checker ( hysteresis hyst  )  [virtual]

Sets the interface pointer to an instance for upper checker.

Parameters:
hyst - interface pointer to a hysteresis implementation

Implements limits_alarm.


Member Data Documentation

float limits_alarm_impl::m_eps [private]

confidential interval

float limits_alarm_impl::m_eps_2 [private]

half of the confidence interval

float limits_alarm_impl::m_h [private]

higher bound

hysteresis* limits_alarm_impl::m_higher [private]

check, if pv exceeds high limit

float limits_alarm_impl::m_l [private]

lower boun

hysteresis* limits_alarm_impl::m_lower [private]

check, if pv falls below low limit

bool limits_alarm_impl::m_q [private]

output; true - value is inside the confidence interval

bool limits_alarm_impl::m_qh [private]

output; true - value is beyound the higher bound

bool limits_alarm_impl::m_ql [private]

output; true - value is beyound the lower bound

float limits_alarm_impl::m_x [private]

process value


The documentation for this class was generated from the following files:
Generated on Mon Jan 1 18:42:46 2007 for 03 by  doxygen 1.5.1