Allows to transform the output of the ControlLaw before passing it to the Process. More...
#include <clipping_functionality.hpp>
Allows to transform the output of the ControlLaw before passing it to the Process.
The class ClippingFunctionality allows to limit the output of the ControlLaw before passing it as signal to control the Process.
Definition at line 56 of file clipping_functionality.hpp.
Default constructor.
Definition at line 46 of file clipping_functionality.cpp.
ClippingFunctionality::ClippingFunctionality | ( | uint | _nU, |
uint | _nP = 0 |
||
) |
Constructor which takes dimensions of the signals to be clipped.
[in] | _nU | Number of control signals to be clipped. |
[in] | _nP | Number of parameter signals to be clipped. |
Definition at line 51 of file clipping_functionality.cpp.
Copy constructor (deep copy).
[in] | rhs | Right-hand side object. |
Definition at line 67 of file clipping_functionality.cpp.
Destructor.
Definition at line 77 of file clipping_functionality.cpp.
returnValue ClippingFunctionality::clipSignals | ( | VariablesGrid & | _u, |
VariablesGrid & | _p = emptyVariablesGrid |
||
) | [protected] |
Actually clips given control and parameter signals.
[in,out] | _u | Control signal sequence to be clipped. |
[in,out] | _p | Parameter signal sequence to be clipped. |
Definition at line 202 of file clipping_functionality.cpp.
returnValue ClippingFunctionality::clipSignals | ( | DVector & | _u, |
DVector & | _p = emptyVector |
||
) | [protected] |
Actually clips given control and parameter signals.
Definition at line 245 of file clipping_functionality.cpp.
uint ClippingFunctionality::getNumControlLimits | ( | ) | const [inline, protected] |
Returns number of control signal limits.
uint ClippingFunctionality::getNumParameterLimits | ( | ) | const [inline, protected] |
Returns number of parameter signal limits.
ClippingFunctionality & ClippingFunctionality::operator= | ( | const ClippingFunctionality & | rhs | ) |
Assignment operator (deep copy).
[in] | rhs | Right-hand side object. |
Definition at line 82 of file clipping_functionality.cpp.
returnValue ClippingFunctionality::setControlLowerLimit | ( | uint | idx, |
double | _lowerLimit | ||
) |
Assigns new lower limit on given component of the control signal.
[in] | idx | Index of control signal component. |
[in] | _lowerLimit | New lower limit. |
Definition at line 110 of file clipping_functionality.cpp.
returnValue ClippingFunctionality::setControlLowerLimits | ( | const DVector & | _lowerLimit | ) |
Assigns new lower limits on control signals.
[in] | _lowerLimit | New lower limits on control signals. |
Definition at line 98 of file clipping_functionality.cpp.
returnValue ClippingFunctionality::setControlUpperLimit | ( | uint | idx, |
double | _upperLimit | ||
) |
Assigns new upper limit on given component of the control signal.
[in] | idx | Index of control signal component. |
[in] | _upperLimit | New upper limit. |
Definition at line 134 of file clipping_functionality.cpp.
returnValue ClippingFunctionality::setControlUpperLimits | ( | const DVector & | _upperLimit | ) |
Assigns new upper limits on control signals.
[in] | _upperLimit | New upper limits on control signals. |
Definition at line 122 of file clipping_functionality.cpp.
returnValue ClippingFunctionality::setParameterLowerLimit | ( | uint | idx, |
double | _lowerLimit | ||
) |
Assigns new lower limit on given component of the parameter signal.
[in] | idx | Index of parameter signal component. |
[in] | _lowerLimit | New lower limit. |
Definition at line 159 of file clipping_functionality.cpp.
returnValue ClippingFunctionality::setParameterLowerLimits | ( | const DVector & | _lowerLimit | ) |
Assigns new lower limits on parameter signals.
[in] | _lowerLimit | New lower limits on parameter signals. |
Definition at line 147 of file clipping_functionality.cpp.
returnValue ClippingFunctionality::setParameterUpperLimit | ( | uint | idx, |
double | _upperLimit | ||
) |
Assigns new upper limit on given component of the parameter signal.
[in] | idx | Index of parameter signal component. |
[in] | _upperLimit | New upper limit. |
Definition at line 183 of file clipping_functionality.cpp.
returnValue ClippingFunctionality::setParameterUpperLimits | ( | const DVector & | _upperLimit | ) |
Assigns new upper limits on parameter signals.
[in] | _upperLimit | New upper limits on parameter signals. |
Definition at line 171 of file clipping_functionality.cpp.
DVector ClippingFunctionality::lowerLimitControls [protected] |
Lower limits on control signals.
Definition at line 234 of file clipping_functionality.hpp.
DVector ClippingFunctionality::lowerLimitParameters [protected] |
Lower limits on parameter signals.
Definition at line 237 of file clipping_functionality.hpp.
DVector ClippingFunctionality::upperLimitControls [protected] |
Upper limits on control signals.
Definition at line 235 of file clipping_functionality.hpp.
DVector ClippingFunctionality::upperLimitParameters [protected] |
Upper limits on parameter signals.
Definition at line 238 of file clipping_functionality.hpp.