20#ifndef _FUNCTION_SENSOR_H_
21#define _FUNCTION_SENSOR_H_
23#include "mbsimControl/sensor.h"
24#include <mbsim/functions/function.h>
26namespace MBSimControl {
38 void setIncludeFunctionValue(
bool includeFunctionValue_) { includeFunctionValue = includeFunctionValue_; }
39 void setIncludeFirstDerivative(
bool includeFirstDerivative_) { includeFirstDerivative = includeFirstDerivative_; }
40 void setIncludeSecondDerivative(
bool includeSecondDerivative_) { includeSecondDerivative = includeSecondDerivative_; }
41 void updateSignal()
override;
42 void initializeUsingXML(xercesc::DOMElement *element)
override;
44 int getSignalSize()
const override;
47 bool includeFunctionValue{
true};
48 bool includeFirstDerivative{
false};
49 bool includeSecondDerivative{
false};
50 fmatvec::RangeV IFV, IFD, ISD;
FunctionSensor.
Definition: function_sensor.h:32
Sensor.
Definition: sensor.h:31