hysteresis_impl Class Reference

#include <hysteresis_impl.h>

Inheritance diagram for hysteresis_impl:

Inheritance graph
[legend]
Collaboration diagram for hysteresis_impl:

Collaboration graph
[legend]
List of all members.

Detailed Description

Function Block implementation for hysteresis calculation


Public Member Functions

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

virtual void en ()
implementation of abstract interface 'hysteresis'
! /** Sets the input values of the function block. Should be called before en().
Parameters:
xin1 - value of xin1
xin2 - value of xin2
eps - value of eps


virtual bool get_result ()
virtual void set_input (const float xin1, const float xin2, const float eps)

Private Member Functions

 hysteresis_impl (const hysteresis_impl &obj)
hysteresis_imploperator= (const hysteresis_impl &obj)

Private Attributes

float m_eps
bool m_q
float m_xin1
float m_xin2


Constructor & Destructor Documentation

hysteresis_impl::hysteresis_impl (  ) 

Constructor

hysteresis_impl::~hysteresis_impl (  )  [virtual]

Destructor

hysteresis_impl::hysteresis_impl (  ) 

Constructor

hysteresis_impl::~hysteresis_impl (  )  [virtual]

Destructor


Member Function Documentation

virtual void hysteresis_impl::en (  )  [virtual]

Perfoms the algorithm of the function block

Implements fb.

virtual bool hysteresis_impl::get_result (  )  [virtual]

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

Implements hysteresis.

virtual void hysteresis_impl::set_input ( const float  xin1,
const float  xin2,
const float  eps 
) [virtual]

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

Parameters:
xin1 - value of xin1
xin2 - value of xin2
eps - value of eps

Implements hysteresis.


Member Data Documentation

float hysteresis_impl::m_eps [private]

confidential interval

bool hysteresis_impl::m_q [private]

output; true - values are inside the confidence interval

float hysteresis_impl::m_xin1 [private]

input xin1

float hysteresis_impl::m_xin2 [private]

input xin2


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